We help IT Professionals succeed at work.

add attachment to the mailto: syntax

jayyu2k asked
Last Modified: 2011-08-18

u all have seen this

 <a href="mailto:me@me.com?subject="helo">mail</a>

I just want to know if we can add another attribute like the subject . I want to attach a file too that is on the client.

once the mail button is clicked outlook is to be opened with to as me@me.com subject as "helo" and attach as "somefil.txt" which is on the client
Watch Question

Unlock this solution and get a sample of our free trial.
(No credit card required)

I'm looking for a way to do the mailto: attachment too.  Here's why:  I've created a floppy disk with a flash movie on it.  At the end, I want to allow the user to "email this movie to a friend".  I know the location will always be "A:/movie.exe".  Can you think of another way to do this?


WEll i am deleting the Q :) as i found to be of no use.

How do you know the location will always be a:/movie.exe?

If I were to try it then the location would be file:///mnt/floppy/movie.exe
Yes I can think of another way to do this...

With a server side script and for example the CDONTS.NewMail object...

jayyu2k > delete this question? Why? Because you didn't get the answer you were hoping for? Sometimes the answer is that what you want cannot be done, that doesn't make it a bad answer....



DreamMaster i mean my Q had no possibility of being solved but had as possibility of creating confusions. Thats why i del it.Moreover i never said u gave a Bad answer??
"that doesn't make it a bad answer...." ?? why did u feel so! ! :) cheers


had a possibility of creating confusions--> i mean :) sorry
Now you are confusing me...

I do not feel like I gave a bad answer, because I know I didn't...

But how can your question create confusions? If you ask for a solution and the answer is that it cannot be done...I do not think that this is confusing to other people...it's clear enough for me...

Oh well...go ahead and delete it, but as an example "lucid7" was looking for the same thing...now he/she knows that it cannot be done with the mailto... he wouldn't have known otherwise now would he?


ah Dorward, I stand corrected.  I'm very windows centric.  and to all: a little confusion is good.  shakes things up, I say.


One possible answer for you is to also have your flash movie on the web somewhere.

You could then use mailto: to direct new users to the web site, which could have a download option if required.

Just a though

Top Expert 2013

This question has been abandoned.  I will make a recommendation to the
moderators on its resolution in a week or two.  I appreciate any comments
that would help me to make a recommendation.

Eventhough jayyu2k says it was a question that never had a chance of getting solved I believe I provided him with an answer, which is that it cannot be done...it may not be what he wanted to hear...but it's still the answer...

Top Expert 2013

It is time to clean this abandoned question up.  

I am putting it on a clean up list for CS.

points to DreamMaster

If anyone participating in the Q disagrees with the recommendation,
please leave a comment for the mods.

Comment from DreamMaster accepted as answer.

Thank you
Community Support Moderator
I keep saying thanks here...Thanks Computer101 :)

Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.


Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.