URL opening a new email

Status
Not open for further replies.

scottb2

Member
I'm entering the following URL from IE:




mailto:me@test.com?cc=him@test.com&subject=this%20is%20a%20subject&body=this%20is%20a%20body&attachment=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
 
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:

> mailto:m...@test.com?cc=...@test.com&subject=this%20is%20a%20subject&body=this%20is%20a%20body&attachm­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

> > scottb2https://forums.slipstick.com
 
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/library/aa767737(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




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:

>

> mailto:m...@test.com?cc=...@test.com&subject=this%20is%20a%20subject&body=this%20is%20a%20body&attachm*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

>

> --

> scottb2https://forums.slipstick.com
 
Status
Not open for further replies.
Similar threads
Thread starter Title Forum Replies Date
J Opening a web URL that points to PDF file... Outlook VBA and Custom Forms 7
S How to export urls from email to excel and check the status of the url ? Using Outlook 5
Fozzie Bear Cannot post "Sneaky URL"!! Using Outlook.com accounts in Outlook 2
O Windows 10 x64 Outlook 2013 - URL does not open (anymore) Using Outlook 3
M How to view the URL for a hyperlink? Using Outlook 1
S Subject add ticket number from URL query Outlook VBA and Custom Forms 2
C OWA External Access - No URL / URL Invalid Exchange Server Administration 2
P URL Hyperlink not working correctly in Outlook 2003 Using Outlook 10
Diane Poremsky New Office365 Feature: URL Preview in OWA Using Outlook 0
F 'General failure (URL) Server execution failed' Using Outlook 1
S Create task with email URL instead of attachment Outlook VBA and Custom Forms 4
J Creating a URL from a message body excerpt before forwarding Using Outlook 2
E Create a URL hyperlink in an Outlook custom form? Outlook VBA and Custom Forms 2
C Unable to forward email with URL Using Outlook 2
H URL's don't work in .oft file Using Outlook 1
C Is it possible: List of URL fields BCM (Business Contact Manager) 0
H How can you add a URL field in a Outlook Custom Contact form? Using Outlook 6
M I have to send out a meeting invite to others that starts up a URL on reminder Using Outlook 0
M Mail in HTML format can't be sent if url or number is in the body Outlook 2010 Using Outlook 2
S outlook 2010 in URL Using Outlook 1
C URL in an email Outlook VBA and Custom Forms 1
D href tags does not result in the full url with Redemption Outlook VBA and Custom Forms 4
I Registering custom url protocol handler that Outlook recognizes Outlook VBA and Custom Forms 2
A Opening a link from an email automatically Outlook VBA and Custom Forms 0
A Opening a link from a specific sender automatically Outlook VBA and Custom Forms 4
L Opening People Outlook 2021 Using Outlook 2
U When opening shared Calendar "The set of folders cannot be opened" Using Outlook 0
KurtLass Opening Graphics Attachments in Outlook 2021 Using Outlook 0
Witzker Place cursor at opening, a user defined OL contact form Outlook VBA and Custom Forms 2
A OutLook For Mac 16.46 Comes Up In Small Window When Opening Using Outlook 4
U Disable "Always ask before opening" Dialog Using Outlook 3
Wayne Outlook locks up when opening "Manage Rules & Alerts" Using Outlook 7
B Outlook 2010 Opening Mail Attachment Using Outlook 2
A Warning When Opening attachment Using Outlook 7
D Prevent popup of "Do you want to save changes?" when closing after opening an appointment to view Outlook VBA and Custom Forms 2
H Upon opening Outlook, make my popmail inbox open instead of outlook.com inbox Using Outlook 1
J Outlook 2010 Changing events in Outlook calendar via opening file, importing CSV Using Outlook 0
L What are the risks of opening an Outlook 2016 .pst file in Outlook 2010? Using Outlook 4
D Outlook 2007 crashes when opening an email Using Outlook 2
A Outlook 2016- unable to have all subfolders expanded when opening outlook Using Outlook 11
GregS Immediate crash on opening Using Outlook 3
Diane Poremsky Error Opening Outlook and Control Panel's Mail Applet Using Outlook 0
S my vbscript button1_click code works on appointment created but not on opening an existing apntmn Outlook VBA and Custom Forms 16
J Opening Attachments - in People Using Outlook 2
Mistyfied Outlook 2016 not opening Using Outlook 2
M Update field codes when opening Outlook Template Outlook VBA and Custom Forms 2
R Outlook PST not opening Using Outlook 1
U .pst file error at opening outlook Using Outlook 1
A Problems Opening Excel from Outlook Outlook VBA and Custom Forms 3
Diane Poremsky Disable the Unsafe Hyperlink Warning when Opening Attachments Using Outlook 0

Similar threads

Back
Top