Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CDO Email with VFP
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Titre:
CDO Email with VFP
Divers
Thread ID:
00749445
Message ID:
00749445
Vues:
176
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.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform