I am working in actionscript 3.0 and am making a website!
In my website, I want to make a button that sends an email using a click of button and I don't want it to open their mail client, instead just send it.
I am currently using the "mailto" function but would like to know how to make it send automatically, or what else I can use to achieve that.
Here is a snippet of my code:
function submitPoll(e:MouseEvent):void {
//sending the email stuff
var request:URLRequest = new URLRequest("mailto:[email protected]"+"?subject=Subject"+"&body= Hello world ");
navigateToURL(request, "_blank");
request.method = URLRequestMethod.POST;
//other
Submit_btn.x = -100;
pollUsed = true;
thanks_txt.x = 849;
thanks_txt.y = 656;
}