# Media temple formmail and flash

**URL:** <https://forum.kirupa.com/t/media-temple-formmail-and-flash/172178>\
**Category:** Uncategorized\
**Created:** [December 12, 2005, 6:44am UTC](https://forum.kirupa.com/t/media-temple-formmail-and-flash/172178 "2005-12-12T06:44:15Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![maciejwantusiak](https://avatars.discourse-cdn.com/v4/letter/m/b9e5f3/32.png) [@maciejwantusiak](https://forum.kirupa.com/u/maciejwantusiak)\
**Post date:** [December 12, 2005, 6:44am UTC](https://forum.kirupa.com/t/media-temple-formmail-and-flash/172178/1 "2005-12-12T06:44:15Z")

</div>

Hi!  
I’ve been having problems setting a form in the flash that uses the formmail.pl script to send an email. My webpage is hosted by Media Temple.  
Can someone with some experience let me know how this should be properly executed?  
So far, it seem that the email is sent by the script, but the email client doesn’t recieve it…

the actionscript is this:

```auto

on (press) {
email = forms_in_mc.Semail.text;
realname = forms_in_mc.Sname.text;
subject = forms_in_mc.Ssubject.text;
body = forms_in_mc.Smessage.text;
recipient = "[email="myemail@myweb.com"]myemail@myweb.com[/email]";
loadVariablesNum("[http://www.myweb.com/cgi-bin/formmail.pl](http://www.myweb.com/cgi-bin/formmail.pl)", "0", "POST");
nextFrame();
}

```
