Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Customizing the
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Customizing the
Divers
Thread ID:
00587716
Message ID:
00587716
Vues:
47
Using OLE to connect to outlook allows you to set all of the properties of an email except for who the email is sent from. I need to customize this property so that when emails are sent to customers in my application I can specify whatever email address I want them to reply to. Any ideas? I use the following code to connect to Outlook:

oOutLookObject = CreateObject("Outlook.Application")
oEmailItem = oOutLookObject.CreateItem(0)

With oEmailItem
.Body = "Email Contents"
.To = "Customer@Weissinc.com"
.Subject = "Order Confirmation"
.Send
EndWith
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform