Hi all,
Have looked a bit through the WWC tools help file but so far have not figured out if there is anything in the WWC tools to launch an email in the Outlook client and attach some attachments - the users do not want to actually send the email from VFP - they simply want to get it ready with as much stuff as possible from their database and then they will check and personalize the email before pushing the big send button in Outlook.
I know there is the wwsmtp class - did not see anything in it. And I am not even sure they allow smtp outbound through their firewall directly (it would have to send it to Office 365 via their mailbox there which is probably not allowed).
Albert
No that's not part of the client tools.
But you can use COM automation to automate outlook.
If you can live without attachments you can also use Shell Execute to use the mail:
moniker to open a message to a specific email address:
ShellExecute("mailto:rickstrahl@west-wind.com?subject=Message Title&body=Hello There")
but there's no support attachments. Text can be URLEncoded so it should support linebreaks, but if I recall applicaiton protocols like this are limited to 2500 characters or so.
+++ Rick ---