Link to home
Start Free TrialLog in
Avatar of Julian Hansen
Julian HansenFlag for South Africa

asked on

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="mailto:email@address.com?subject=Subject&attach=path">

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?
ASKER CERTIFIED SOLUTION
Avatar of Kimputer
Kimputer

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Julian Hansen

ASKER

Thanks for the responses - confirms what I have found - just wanted to make sure the bases are covered.