How to send mail to external domains.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • deegeorge
    New Member
    • Nov 2008
    • 58

    #1

    How to send mail to external domains.

    Hi,
    I am sending email from one@webmail .com to two@webmail.com, but its not possible
    to send to gmail,yahoo etc.wat i need to do,Pls help its very urgent....

    Thanks in advance,
    Deeps
  • dorandoran
    New Member
    • Feb 2007
    • 145

    #2
    why is not possible? I have done it. I dont remember exactly where I got the code but I know it's possible. You will have to loop through each email when it comes to sending email to multiple receipients (like foreach).

    Do a google for asp.net send mail.

    Comment

    • Frinavale
      Recognized Expert Expert
      • Oct 2006
      • 9749

      #3
      Please take a look at this quick reference on how to send email using .NET.

      You probably have to provide network credentials to authenticate with your webmail...you may also have to change the port.

      -Frinny

      Comment

      • dorandoran
        New Member
        • Feb 2007
        • 145

        #4
        Here is an good example of sending emails to multiple recipients.
        Here I have discussed Sending Mails using VB.Net   First Import these Name Spaces Imports System.Net Imports System.Net.Mail   See the function below Public Function SendEmail(ByVal strTo As String…

        Comment

        • Plater
          Recognized Expert Expert
          • Apr 2007
          • 7872

          #5
          If you cannot send to other domains, its probably because you are not logged into the smtp server

          Comment

          Working...