Re: Easiest/best way to create an email using local MS Outlook with file attachments?

Author: Koen Piller

Posted: 2019-08-21 at 02:10:24

If your client is not using Gmail than VFPWinsock is the easiest app to

mail with attachments

Koen

Op wo 21 aug. 2019 om 08:58 schreef John Weller <john@johnweller.co.uk>

> I use CDO to do just that. I’m not in the office until later today but

> when I get in I’ll send you some sample code if you wish?

>

> John

>

> John Weller

> 01380 723235

> 079763 93631

> Sent from my iPad

>

> > On 21 Aug 2019, at 05:22, MB Software Solutions, LLC <

> mbsoftwaresolutions@mbsoftwaresolutions.com> wrote:

> >

> > VFP9SP2 app

> >

> > Customer uses Outlook and wants the app to generate an email to a given

> email address from the app AND attach certain documents to it. Customer

> will preview it and then manually hit "Send" on their own.

> >

> > What's the BEST (and hopefully easiest) way to implement this? Invoke

> Outlook via CREATEOBJECT and set properties and attachments accordingly?

> Typically in the past I've used MAILTO and ShellExec but this time the

> extra requirement is to have files attached from the application too, which

> makes MAILTO not an option, if I understand correctly.

> >

> > tia,

> > --Mike

> >

> >

> >

> > ---

> > This email has been checked for viruses by Avast antivirus software.

> > https://www.avast.com/antivirus

> >

> >

[excessive quoting removed by server]

_______________________________________________

Post Messages to: ProFox@leafe.com

Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox

OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech

Searchable Archive: https://leafe.com/archives

This message: https://leafe.com/archives/byMID/CACUu1StxaaQXbKrAF_VzmAoU0GyaJ9_DmK_TsdL1NxYJUV87Rw@mail.gmail.com

** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

©2019 Koen Piller