Information générale
Catégorie:
COM/DCOM et 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
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement