Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sending email through Outlook
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
01532147
Message ID:
01532155
Vues:
43
>>>If you know Outlook is the MAPI client then ;
>>>
>>>
>>>loOutlook = CREATEOBJECT("Outlook.Application")
>>>loMessage = loOutlook.createitem(0)
>>>loMessage.TO = YourMailto
>>>loMessage.bcc = Yourbcclist
>>>loMessage.subject = YourEmailSubject
>>>
>>>*) then either;
>>>
>>> loMessage.body = YourEmailBody
>>>
>>>*) or
>>>
>>>  loMessage.HTMLBody = YourHTMLBody
>>>
>>>  loMessage.attachments.ADD(YourFileName)
>>>
>>>loMessage.DISPLAY()
>>>loInspector=loMessage.GetInspector()
>>>loInspector.Activate()
>>>
>>>loMessage = .NULL.
>>>loOutlook = .NULL.
>>>loInspector= .NULL.
>>>
>>>
>>>
>>>
>>>Gary.
>>
>>Very interesting
>>
>>How do I send multiple cc
>>
>>loMessage.cc = "colin@colin-northway.info"
>>loMessage.cc = "stock@colin-northway.com"
>>
>>send to only one of the ccs
>
>Have you tried specifying them all in one line with ; in between?

Happy new year

No but this works - thanks

loMessage.cc = "colin@colin-northway.info"+" ; "+"stock@colin-northway.com"
Specialist in Advertising, Marketing, especially Direct Marketing

I run courses in Business Management and Marketing
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform