General information
Category:
COM/DCOM and OLE Automation
Hi Pat,
The following works fine for me:
MailItem.Attachments.Add("c:\mypath\myfile.txt")
Hope this helps,
Gavin...
>I don't know much about Outlook but I have managed to start it to send email and attach a file from within my FoxPro application. Is there a way to force Outlook to send the file as an attachment rather than imbed it as text within the message. It appears to imbed it automatically when the file has a "txt" extension but I don't want it to (and I'd like to keep the "txt" extension).
>
>Thanks,
>Pat
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only