Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CDO Email with VFP
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Internet applications
Title:
CDO Email with VFP
Miscellaneous
Thread ID:
00749445
Message ID:
00749445
Views:
175
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
Map
View

Click here to load this message in the networking platform