smtp problem

Discussion in 'ASP .Net' started by Grant, Jul 22, 2003.

  1. Grant

    Grant Guest

    When I tried to send the eMail using the smtp. I get "The transport failed to connect to the server. " I am not sure where to start to touble shoot this? Any idea?

    THe codes is

    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, Jul 22, 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. Replies:
    3
    Views:
    1,103
    Roedy Green
    Jan 24, 2006
  2. Alex Hunsley
    Replies:
    4
    Views:
    3,569
    Tim Williams (gmail)
    Jun 29, 2004
  3. 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:
    895
    Raaijmakers, Vincent \(GE Infrastructure\)
    Jun 29, 2004
  4. Copelandia Cyanescens

    smtplib.SMTP "no attributes SMTP"

    Copelandia Cyanescens, Jul 31, 2004, in forum: Python
    Replies:
    2
    Views:
    1,484
    Copelandia Cyanescens
    Jul 31, 2004
  5. tshad
    Replies:
    1
    Views:
    904
    bruce barker
    May 5, 2008
Loading...

Share This Page