Attach file with mailto

There seem to be several articles that suggest this is possible but I have not found any that actually work.

<a href="">

Where attach is either attach or attachment and path is full path to local file with or without double quotes.

There is also the method of using a form to POST to a mailto address as per HTML Goodies - couldn't get that to work either.

All I want to do is attach a text file OR put the base64 equivalent in the body. The base64 part is easy - however using the GET approach is problematic because of the length restriction on the URL - my string is 30K.

Anyone managed to get this to work?
LVL 66
Julian HansenAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

In both RFC 2368 and RFC 6068, the word "attachment" is not mentioned once. Trying to get it to work is quite futile, and a security risk to boot (which is probably why it was never included in the RFC)
What you are reading in the articles might have been a few flukes where the mail client was "willing" to interpret the attachment keyword. Probably they saw their fault in this security risk and removed this feature in their newer versions of the software.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Dave BaldwinFixer of ProblemsCommented:
It may have worked many years ago but I would not expect that to work now, especially in IE which is very restrictive about what it passes to the email program.
Julian HansenAuthor Commented:
Thanks for the responses - confirms what I have found - just wanted to make sure the bases are covered.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.