Outlook Banter

Outlook Banter (http://www.outlookbanter.com/)
-   Outlook and VBA (http://www.outlookbanter.com/outlook-vba/)
-   -   URL opening a new email (http://www.outlookbanter.com/outlook-vba/101101-url-opening-new-email.html)

JP[_3_] March 18th 10 03:44 PM

URL opening a new email
 
I browsed a few sites that explain how to use "mailto" and could not
find any documentation for a parameter called "attachment". I couldn't
even find it in the RFC for mailto (http://www.faqs.org/rfcs/
rfc2368.html). I suspect that is because you cannot do it. Do you have
any links to support the "attachment" parameter?

You *could* try embedding a link in the body text, but that would
require that the file be in a location accessible to both you and your
recipients.

--JP

On Mar 17, 12:37*am, scottb2 scottb2.47ybcm@invalid wrote:
I'm entering the following URL from IE:

&subject=this% 20is%20a%20subject&body=this%20is%20a%20body&attac hm*ent=c:\t.txt

This brings up a new Outlook email with To, Cc, Subject, and body
filled in. *Specifying "&bcc=" also works. *Unfortunately, the
attachment parameter is ignored. *"c:\t.txt" exists. *(I'm using Outlook
2003 at work. *I've also tried this using Outlook Express.) *We've
already tried various flavors of quoting and escaping the quotes but
using a quote at all causes an error. *Is there a way to issue a mailto
URL that will automatically attach a file to the new email?

Thanks,
Scott

--
scottb2http://forums.slipstick.com



scottb2 March 19th 10 06:17 PM

URL opening a new email
 

RFC 2368 can be found here -
http://xml.resource.org/public/rfc/html/rfc2368.html

RFC 1738 can be found here - http://www.faqs.org/rfcs/rfc1738.html

The "Community Content" part of
http://msdn.microsoft.com/en-us/libr...37(VS.85).aspx mentions
the "attachment" parameter for Outlook 2003. You're right, though, that
it doesn't seem to be anywhere else, which is the reason for the
question.

Scott

JP;133568 Wrote:
I browsed a few sites that explain how to use "mailto" and could not
find any documentation for a parameter called "attachment". I couldn't
even find it in the RFC for mailto (http://www.faqs.org/rfcs/
rfc2368.html). I suspect that is because you cannot do it. Do you have
any links to support the "attachment" parameter?

You *could* try embedding a link in the body text, but that would
require that the file be in a location accessible to both you and your
recipients.

--JP

On Mar 17, 12:37*am, scottb2 scottb2.47ybcm@invalid wrote:
I'm entering the following URL from IE:


&subject=this% 20is%20a%20subject&body=this%20is%20a%20body&attac hm*ent=c:\t.txt

This brings up a new Outlook email with To, Cc, Subject, and body
filled in. *Specifying "&bcc=" also works. *Unfortunately, the
attachment parameter is ignored. *"c:\t.txt" exists. *(I'm using

Outlook
2003 at work. *I've also tried this using Outlook Express.) *We've
already tried various flavors of quoting and escaping the quotes but
using a quote at all causes an error. *Is there a way to issue a

mailto
URL that will automatically attach a file to the new email?

Thanks,
Scott

--
scottb2http://forums.slipstick.com



--
scottb2
http://forums.slipstick.com



All times are GMT +1. The time now is 11:37 PM.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2006 OutlookBanter.com