Re: Sending Attachments with emails

From: Jan Bucek (bucek.jan_at_post.cz)
Date: 02/01/05


Date: Tue, 01 Feb 2005 08:13:03 +0100

Hi,
download and use free MAPImail class from www.nbcsoftware.com, it works
  great. If you need any help with it, contact me thru www.bucek.info
HTH

Barley Man napsal(a):
> I am trying to get VFP 7.0 to send emails with attachments to a list of club
> members stored in a VFP application.
>
> I am using the following to create the email:-
>
> lcMail =
> "mailto:"+alltrim(m.tto)+"?bcc="+ALLTRIM(m.tbcc)+"&subject="+ALLTRIM(m.tsubject)+"&body="+ALLTRIM(m.tbodytext)
>
> * This launches the email program and inserts the partameters
> ShellExecute(0,"Open",lcMail,"","",1)
>
> ........ and it works tolerably.
>
> I can't find the required to code to attach a word document (or any other
> kind of attachment) to each email using this 'format' of creating email. What
> additions should I make in my "lcMail= " line to add the attachment.
>
> Can anybody help please?
>
> ian



Relevant Pages

  • Re: VFP 9: Help with sending/receiving XML via FTP
    ... Email sounds like the better/easier solution. ... What would you reccomend for learning material, ... email and attachments from within VFP? ...
    (microsoft.public.fox.programmer.exchange)
  • Send email from application
    ... I am using VFP 9. ... I want to create email address, subject, body of email, attachments and then ... shoot the email from within a program. ... Mike TI ...
    (microsoft.public.fox.vfp.forms)
  • Re: Sending Attachments with emails
    ... attachments are possible with using that technique. ... You would be better off automating Outlook. ... > members stored in a VFP application. ...
    (microsoft.public.fox.helpwanted)