General information
Category:
Internet applications
Trying to send email using CDO, see code below. It works perfectly if i send an email to myself. But gives the following error if i sen the email to someone else. (Error - The server rejected recipient address... not a local host. Address not a gateway.
omsg = CREATEOBJECT("cdo.message")
omsg.To = alltrim(memail)
omsg.From = alltrim(mcomp_name)
omsg.Subject = ' Invoice '+ str(minvoice,6)
oMSG.TextBody = mstrinvoicebody
omsg.Send()
CDO was configured by seting up outlook express.
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only