Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sending email through Outlook
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
01532147
Message ID:
01532155
Views:
44
>>>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
Previous
Reply
Map
View

Click here to load this message in the networking platform