View Complete Thread | FoxWeb Forum Home
Search:
Date:    Msg ID:   
From:    Thread:   
Subject:   
Are you running an SMTP server on the same machine as FoxWeb?  If not, then you need to specify the name, or IP address of your SMTP server, instead of "localhost".
FoxWeb Support Team
support@foxweb.com email
Sent by Larry Zhang on 04/26/2007 01:18:32 PM:
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."