Sending an email

Has anyone been success in sending an email from within Flash MX? I am trying to launch the email client & being able to add a subject & body information. I have been trying all kinds of combinations with no luck

Also, I have an input box labeled recipient so when I launch the mail client I want the recipient email address to automatically appear in the To line.

Thanks in advance for any help.

Deb

[AS]submitbutton.onPress = function() {
var recipient = “mailto:”+recipientText;//recipientText is the instance name of your input textfield
getURL(recipient);
};[/AS]

something like this :


on (release) {
        getURL("mailto:youremail@yourdomain.com" + "?subject=Website Contact Info" + "&body=" + "Name: " + nm + newline + "Email: " + em + newline + "Phone: " + ph + newline + "Message: " + ms);
}

where nm, em, ph, and ms are you form variables

oops, claudio must have posted while i was typing :slight_smile:

skip the first 3 [" + "] in digis code…

Thanks everyone for all your help. I really appreciate it. It worked out great.

Deb