Go to the knowledgebase and find MAPI & VFP. They have great code that does most of the work. Attachments are weak there but remember that the attachment path and attachment name are required. Here I am dealing with a new version of an EXE a .NEW.
Thisform.message1.AttachmentPathName = 'c:\vitech\vitech.new'
Thisform.message1.AttachmentName = 'c:\vitech\vitech.new'
You want to send it out right away, becasue the size of an email attachment is roughly 300% larger than the file itself. So this .NEW was 4.3 meg it was 12 meg in transmit. That takes alot of time to push!
__Stephen
>Hi
>
>From Visual FoxPro I want to put email with attachment in the send box of Outlook Express (I don't want to send immediately). The next time user will connect he will just have to send all the message that are already in the send box.
>
>Thanks
>
>Mike