Date:  04/26/2007 01:18:32 PM Msg ID:  003394
From:  Larry Zhang Thread:  003394
Subject:  SMTP Server connection
I used these codes to send email.

mySmartMail =CREATEOBJECT("AspSmartMail.SmartMail")
   *SMTP Mail Server
   mySmartMail.Server = "Localhost"
   *From
   mySmartMail.SenderName = cName
   mySmartMail.SenderAddress = "lzhang@xyz.com"
 
   *To
   mySmartMail.Recipients.Add(cRecipients, cName)
   mySmartMail.CCs.Add(cRecipients, "")

    ......

 

 
But now I got an error:
"Can't connect to SMTP server."