# Loadvars() send

**URL:** <https://forum.kirupa.com/t/loadvars-send/158396>\
**Category:** flash\
**Created:** [August 9, 2005, 2:02pm UTC](https://forum.kirupa.com/t/loadvars-send/158396 "2005-08-09T14:02:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ice\_Tiger](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/ice_tiger/32/1626_2.png) [@Ice\_Tiger](https://forum.kirupa.com/u/Ice_Tiger)\
**Post date:** [August 9, 2005, 2:02pm UTC](https://forum.kirupa.com/t/loadvars-send/158396/1 "2005-08-09T14:02:07Z")

</div>

Hi

i have made a login which send a email when a users logs in it loads some variables with this code and send them to email.php:

```auto
mail_vars = new LoadVars();
mail_vars.name1 = name1;
mail_vars.email = email;
mail_vars.body = body;
mail_vars.send("email.php", "POST");

```

after reaching the frame it send the email correctly and pop-up a blank window. So i read on the form that if you make the code like this it wont  
pop -up:

```auto
mail_vars = new LoadVars();
mail_vars.name1 = name1;
mail_vars.email = email;
mail_vars.body = body;
mail_vars.send("email.php",newEmail,"POST");

```

but then it refuse to send the email someone got any idea searched the net for a day now without succes

thnx
