|
-
May 4th, 2014, 02:42 AM
#1
Thread Starter
New Member
Embedding a file in the &body section of a mailto: command
Hi,
I'm upgrading a Visual Basic 6 application to use the mailto: command with ShellExecute to replace the standard VB6 MAPI session and mail controls. My requirement is to basically send an email with attachments. I've found that the &Attachment string in the mailto: command does not attach the files as required. I've searched everywhere and tried numerous combinations of ways to specify the attachments with no result. The email - In Outlook 2010 - is created fine but with no attachments. My idea is to embed the attachments in the &body section of the mailto: command. The file types are arbitrary, everything from simple text through to pictures and audio files. Can someone please tell me how I might embed these attachments into the &body section of the mailto: command?
Thanks,
David.
-
May 4th, 2014, 05:52 AM
#2
Re: Embedding a file in the &body section of a mailto: command
I never got this method working and still use MAPI.
Is there a specific reason for abandoning MAPI?
-
May 4th, 2014, 06:28 AM
#3
Thread Starter
New Member
Re: Embedding a file in the &body section of a mailto: command
 Originally Posted by Arnoutdv
I never got this method working and still use MAPI.
Is there a specific reason for abandoning MAPI?
Thanks for the response. Simple MAPI using the Visual Basic 6.0 MAPI session and MAPI mail ActiveX controls do not work with Microsoft Outlook version 2007 and higher. Simple MAPI is deprecated in these versions. How do you utilise MAPI in your application to send emails with attachments? A code snip would be very helpful. Thanks for the response,
-
May 4th, 2014, 09:38 PM
#4
Re: Embedding a file in the &body section of a mailto: command
when you quote a post could you please do it via the "Reply With Quote" button or if it multiple post click the "''+" button then "Reply With Quote" button.
If this thread is finished with please mark it "Resolved" by selecting "Mark thread resolved" from the "Thread tools" drop-down menu.
https://get.cryptobrowser.site/30/4111672
-
May 5th, 2014, 03:55 AM
#5
Re: Embedding a file in the &body section of a mailto: command
I have not encountered problems using MAPI and computers having Outlook 2007 or 2010 installed.
Do you have link to a MSDN article?
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|