Help Needed with SMTP mail in ASP.Net

Discussion in 'ASP .Net' started by Robert Hanson, Jul 23, 2003.

  1. Hi All,

    I am getting an error Could not access 'CDO.Message' object when I run
    the SmtpMail.Send(msg) line as shown below:

    Dim msg As MailMessage = New MailMessage
    msg.To = strRecipientEmailAddressList
    msg.From = strSenderEmailAddress
    msg.Subject = "SimpleERouting AutoNotify Message"
    msg.Body = "SimpleERouting Number " + strErouting + "
    AutoNotify Message From " + strCreator
    SmtpMail.SmtpServer = "localhost"
    SmtpMail.Send(msg)

    This is on my development computer using IIS5.0

    Please help!!

    Thanks,

    Bob Hanson
    CEO
    Custom Programming Unlimited LLC

    *** Sent via Developersdex http://www.developersdex.com ***
    Don't just participate in USENET...get rewarded for it!
     
    Robert Hanson, Jul 23, 2003
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Robert Hanson

    Re: Help Needed with SMTP mail in ASP.Net

    Robert Hanson, Jul 23, 2003, in forum: ASP .Net
    Replies:
    1
    Views:
    331
    Yan-Hong Huang[MSFT]
    Jul 25, 2003
  2. Curt_C [MVP]
    Replies:
    5
    Views:
    376
    Karim
    May 19, 2004
  3. Replies:
    3
    Views:
    1,093
    Roedy Green
    Jan 24, 2006
  4. Alex Hunsley
    Replies:
    4
    Views:
    3,491
    Tim Williams (gmail)
    Jun 29, 2004
  5. Raaijmakers, Vincent \(GE Infrastructure\)

    RE: sending of mail (smtp) - connection refused - but smtp serveris running!

    Raaijmakers, Vincent \(GE Infrastructure\), Jun 29, 2004, in forum: Python
    Replies:
    0
    Views:
    888
    Raaijmakers, Vincent \(GE Infrastructure\)
    Jun 29, 2004
Loading...

Share This Page