Ask a Question related to ASP.NET General, Design and Development.

  1. #1

    Default SMTP





    I am having a problem with sending mail via system.web.mail. When I send the
    file shows up in the queue folder so something is not letting it go, any
    idea? No runtime error comes up or anything. I suspect it is the firewall so
    what should I tell them?



    Here are the codes that I am using



    Dim message As New MailMessage()
    With message
    ..BodyFormat = MailFormat.Html
    ..To = RecipientList
    ..Cc = MessageFrom
    ..Subject = MessageSubject
    ..From = MessageFrom
    ..Body = MessageBody
    End With
    SmtpMail.SmtpServer = "localhost"
    SmtpMail.Send(message)



    Grant Guest

  2. Similar Questions and Discussions

    1. CDO and SMTP
      I want to use the CDO instead of CDONTS running via Server 2003. Within the sample code it asks for the SMTP server name. Once I've installed the...
    2. PHP 5 & SMTP
      Anyone know if PHP 5 has built in support for communicating with SMTP servers that require a username and password? Right now, as everyone knows,...
    3. SMTP for ASP
      Hi Group, I'm having a few problems with getting an SMTP server configured on my Windows 2000 Server web server. My web server is co-located at my...
    4. POP before SMTP
      Hi all, a friend using Windows wanted to send mail, but he got timeout errors after editing php.ini Mail section smtp = smtp.server.com...
    5. How to set sendmail SMTP auth and SMTP SSL on Solaris 9 (x86)
      Dear all, Can anybody tell me how to set sendmail SMTP auth and SMTP SSL on Solaris 9(x86). Thanks!
  3. #2

    Default Re: SMTP

    I would suspect the firewall is not allowing the traffic out port 25, but it
    also could be other things. Check the event log for SMTP entries, that might
    help. Also if the SMTP is not able to get to a DNS server to resolve the MX
    of the destination domain, then it will also not function. Send a message to
    the mail server inside the firewall and see if that goes
    ==========================================
    = Tom Vande Stouwe MCSD.net, MCAD.net, MCP
    = 45Wallstreet.com ([url]www.45wallstreet.com[/url])
    = (803)-345-5001
    ==========================================
    = If you are not making any mistakes
    ..= ..you are not trying hard enough.
    ==========================================
    "Grant" <Grant@nutrikids.com> wrote in message
    news:u03xq4VTDHA.304@tk2msftngp13.phx.gbl...
    >
    >
    >
    >
    > I am having a problem with sending mail via system.web.mail. When I send
    the
    > file shows up in the queue folder so something is not letting it go, any
    > idea? No runtime error comes up or anything. I suspect it is the firewall
    so
    > what should I tell them?
    >
    >
    >
    > Here are the codes that I am using
    >
    >
    >
    > Dim message As New MailMessage()
    > With message
    > .BodyFormat = MailFormat.Html
    > .To = RecipientList
    > .Cc = MessageFrom
    > .Subject = MessageSubject
    > .From = MessageFrom
    > .Body = MessageBody
    > End With
    > SmtpMail.SmtpServer = "localhost"
    > SmtpMail.Send(message)
    >
    >
    >

    Tom Vande Stouwe MCSD.net Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139