Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Determining the sender using MAPI Message control
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00793967
Message ID:
00795013
Vues:
82
Take a look at OL2000: How to Programmatically Set a Form's From Field mskb #Q232309.

>I'm working with MAPI control in VFP8 to send mails programmatic and this works correctly.
>But I need to determine the mail's sender, for example,
>I have in the outlook many mails accounts and I want to use one in particular to send the mail.
>
>The code:
>
>
>This.oleMMess.compose
>This.OleMMess.recipaddress= "destination@mail.com"
>This.OleMMess.ResolveName
>This.OleMMess.msgnotetext= "Body text"
>This.OleMMess.msgsubject= "Subject text"
>This.OleMMess.send(0)
>
>
>Exist the property
MsgOrigAddress
, it doesn't work, it's read only.
>I can't select from among mails accounts to send programmatically the mail.
>
>Any idea?
>thanks in advance
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform