Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Email including a file by program
Message
From
02/10/2000 10:41:40
 
 
To
02/10/2000 10:29:22
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00423410
Message ID:
00423417
Views:
12
>Hello,
>
>Somebody know the syntax to send a mail with a file included on it.
>
>Thanks you
>
>Sylvain

For Outlook at least...

#DEFINE olMailItem 0 && zero
oOutlook = CREATEOBJECT("Outlook.Application")
oMail = oOutlook.CreateItem(olMailItem)
oMail.To = "who you're sending it to"
oMail.Subject = "subject"
oMail.Attachments.Add("full path to attachment file")
oMail.Send()
Insanity: Doing the same thing over and over and expecting different results.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform