your link launched the new email wizzard of email client installed in your computer, but your file is located in the webserver root.
this is not solution, but for the test you could do "C:\test.gif".
if you want to send automated emails, you could use the server script.
Flex simply does not allow for what you are trying to do. You need to upload files to the server and send the email via PHP, etc.
If this post answers your question or helps, please mark it as such.
1 person found this helpful
I believe it's possible but not the way you're trying - only if you want to use smtp.
That brings up other issues - but I believe it's the only way.
I think some people have tried this and even set up libraries
and sample Actionscript code to demo its use.
Coltware - has some example code (AirXmail) - I've never tried but it looks doable.
That is his blog with useful examples.
Actual downlable code is on Google code
And I found another great SMTP example library that handles attachments now with examples at
Message was edited by: DonMitchinson Added additional SMTP urls
Wow, a reply over 2 1/2 years after my original question. Thanks very much for the time - to be honest, I can't even remember the app exactly that I was trying to do this in!
I'll mark it as a helpful answer :-)
Didn't realize it was that old!
Just saw in the right hand column of related questions when I was replying to a similar one.
Even i tried a lot. but no lead. i dont want to use server thing for attachments. Anyone ther please help
Does the mailto: spec support attachments?
NO mailto does not support attachments.
DonMitchinson. Thanks for the hint on coltware. Do you know if using this library we can create a mail using client default mail as outlook ?
I do not know - give it a shot and report back