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

  1. #1

    Default Re: smtpMail Class

    Look in your mailroot (eg. c:\inetpub\mailroot\) directory, and the various
    subdirectories, for any messages. If messages are in the Badmail folder, you
    can open them for more descriptive information. Depending on where you are
    (internal network vs. internet), your needs will differ. Are you on a
    corporate network, or at home connected through an ISP?

    --
    James J. Foster, DotNetCoders
    [url]http://www.dotnetcoders.com[/url]


    "Renato Giron" <renatodiron@earthlink.net> wrote in message
    news:%23zZL7JwPDHA.2852@tk2msftngp13.phx.gbl...
    > I am trying to use an aspx page to send email using the smtpMail class and
    > my smtp server . When I click send but when I check my inbox no messages
    > appear. The page doesn't give any errors. I doble checked and my code
    behing
    > seems find:
    >
    > Dim objmail As New Web.Mail.MailMessage()
    >
    > objmail.From = "renato@myserver.com"
    >
    > objmail.To = "renato@myserver.com"
    >
    > objmail.Subject = "message from me"
    >
    > objmail.Body = "body text"
    >
    > objmail.BodyFormat = Web.Mail.MailFormat.Html
    >
    > Web.Mail.SmtpMail.SmtpServer = "localhost"
    >
    > Web.Mail.SmtpMail.Send(objmail)
    >
    > Can some body please tell me what additional steps I might need to take?
    >
    >

    James J. Foster Guest

  2. Similar Questions and Discussions

    1. SmtpMail works for logged on user but not asp.net on Windows XP
      Hello, I am sending an email using System.Web.Mail.SmtpMail to send mail. This works fine when I am debugging in VS.Net, but fails when I am...
    2. JMail.SMTPMail and utf8
      Hello, Does the JMail.SMTPMail supports sending arabic emails? If so, please tell me how to make it, cause i got Rabish when trying it. thanks
    3. apsnet_wp.exe non-default identity vs. System.Web.Mail.SmtpMail
      Perhaps compare the group and security restrictions on the account you are trying to use. Maybe it is not allowed to run as a service (or something...
    4. where to get jMail.SMTPMail
      > where can I find jMail.SMTPMail, www.dimac.net JMail can use any SMTP server your server can see, so assuming you can edit your DTS...
    5. SMTPMAIL on Windows Server 2003
      We just moved an ASP.Net app to a Windows 2003 Server, and the SMTPMail fails now with the following message: ...
  3. #2

    Default smtpMail Class

    I am trying to use an aspx page to send email using the smtpMail class and
    my smtp server . When I click send but when I check my inbox no messages
    appear. The page doesn't give any errors. I doble checked and my code behing
    seems find:

    Dim objmail As New Web.Mail.MailMessage()

    objmail.From = "renato@myserver.com"

    objmail.To = "renato@myserver.com"

    objmail.Subject = "message from me"

    objmail.Body = "body text"

    objmail.BodyFormat = Web.Mail.MailFormat.Html

    Web.Mail.SmtpMail.SmtpServer = "localhost"

    Web.Mail.SmtpMail.Send(objmail)

    Can some body please tell me what additional steps I might need to take?


    Renato Giron Guest

  4. #3

    Default Re: smtpMail Class

    at home connected to an ISP usind DSL
    thanks for your feedback


    "James J. Foster" <james@dotnetcoders.com> wrote in message
    news:ufRNQUwPDHA.2476@TK2MSFTNGP10.phx.gbl...
    > Look in your mailroot (eg. c:\inetpub\mailroot\) directory, and the
    various
    > subdirectories, for any messages. If messages are in the Badmail folder,
    you
    > can open them for more descriptive information. Depending on where you are
    > (internal network vs. internet), your needs will differ. Are you on a
    > corporate network, or at home connected through an ISP?
    >
    > --
    > James J. Foster, DotNetCoders
    > [url]http://www.dotnetcoders.com[/url]
    >
    >
    > "Renato Giron" <renatodiron@earthlink.net> wrote in message
    > news:%23zZL7JwPDHA.2852@tk2msftngp13.phx.gbl...
    > > I am trying to use an aspx page to send email using the smtpMail class
    and
    > > my smtp server . When I click send but when I check my inbox no messages
    > > appear. The page doesn't give any errors. I doble checked and my code
    > behing
    > > seems find:
    > >
    > > Dim objmail As New Web.Mail.MailMessage()
    > >
    > > objmail.From = "renato@myserver.com"
    > >
    > > objmail.To = "renato@myserver.com"
    > >
    > > objmail.Subject = "message from me"
    > >
    > > objmail.Body = "body text"
    > >
    > > objmail.BodyFormat = Web.Mail.MailFormat.Html
    > >
    > > Web.Mail.SmtpMail.SmtpServer = "localhost"
    > >
    > > Web.Mail.SmtpMail.Send(objmail)
    > >
    > > Can some body please tell me what additional steps I might need to take?
    > >
    > >
    >
    >

    Renato Giron Guest

  5. #4

    Default Re: smtpMail Class

    My messages are in the Queue folder, Don't know why.

    "James J. Foster" <james@dotnetcoders.com> wrote in message
    news:ufRNQUwPDHA.2476@TK2MSFTNGP10.phx.gbl...
    > Look in your mailroot (eg. c:\inetpub\mailroot\) directory, and the
    various
    > subdirectories, for any messages. If messages are in the Badmail folder,
    you
    > can open them for more descriptive information. Depending on where you are
    > (internal network vs. internet), your needs will differ. Are you on a
    > corporate network, or at home connected through an ISP?
    >
    > --
    > James J. Foster, DotNetCoders
    > [url]http://www.dotnetcoders.com[/url]
    >
    >
    > "Renato Giron" <renatodiron@earthlink.net> wrote in message
    > news:%23zZL7JwPDHA.2852@tk2msftngp13.phx.gbl...
    > > I am trying to use an aspx page to send email using the smtpMail class
    and
    > > my smtp server . When I click send but when I check my inbox no messages
    > > appear. The page doesn't give any errors. I doble checked and my code
    > behing
    > > seems find:
    > >
    > > Dim objmail As New Web.Mail.MailMessage()
    > >
    > > objmail.From = "renato@myserver.com"
    > >
    > > objmail.To = "renato@myserver.com"
    > >
    > > objmail.Subject = "message from me"
    > >
    > > objmail.Body = "body text"
    > >
    > > objmail.BodyFormat = Web.Mail.MailFormat.Html
    > >
    > > Web.Mail.SmtpMail.SmtpServer = "localhost"
    > >
    > > Web.Mail.SmtpMail.Send(objmail)
    > >
    > > Can some body please tell me what additional steps I might need to take?
    > >
    > >
    >
    >

    Renato Giron 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