# Sending emails

**URL:** <https://forum.kirupa.com/t/sending-emails/185215>\
**Category:** Uncategorized\
**Created:** [April 11, 2006, 7:40pm UTC](https://forum.kirupa.com/t/sending-emails/185215 "2006-04-11T19:40:02Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![add](https://avatars.discourse-cdn.com/v4/letter/a/0ea827/32.png) [@add](https://forum.kirupa.com/u/add)\
**Post date:** [April 11, 2006, 7:40pm UTC](https://forum.kirupa.com/t/sending-emails/185215/1 "2006-04-11T19:40:02Z")

</div>

what is the easiest way to have people enter their email address and it sends their email to a designated email adress

---

<div class="post-metadata">

**Author:** ![kortexvfd](https://avatars.discourse-cdn.com/v4/letter/k/f1d935/32.png) [@kortexvfd](https://forum.kirupa.com/u/kortexvfd)\
**Post date:** [April 11, 2006, 8:11pm UTC](https://forum.kirupa.com/t/sending-emails/185215/2 "2006-04-11T20:11:58Z")

</div>

Depends what you have avaiable, the dead simplest would be a getURL using a mailto link, but this will open the local email editor.

PHP would be the next simplest, but you have to have a PHP server.

Can also be done in ASP and ColdFusion if you have those avaiable.

---

<div class="post-metadata">

**Author:** ![add](https://avatars.discourse-cdn.com/v4/letter/a/0ea827/32.png) [@add](https://forum.kirupa.com/u/add)\
**Post date:** [April 11, 2006, 8:20pm UTC](https://forum.kirupa.com/t/sending-emails/185215/3 "2006-04-11T20:20:31Z")

</div>

> [@kortexvfd](#):
>
> Depends what you have avaiable, the dead simplest would be a getURL using a mailto link, but this will open the local email editor.
> 
> PHP would be the next simplest, but you have to have a PHP server.
> 
> Can also be done in ASP and ColdFusion if you have those avaiable.

would you add the actions to the send box or inside the text field?

---

<div class="post-metadata">

**Author:** ![kortexvfd](https://avatars.discourse-cdn.com/v4/letter/k/f1d935/32.png) [@kortexvfd](https://forum.kirupa.com/u/kortexvfd)\
**Post date:** [April 11, 2006, 8:25pm UTC](https://forum.kirupa.com/t/sending-emails/185215/4 "2006-04-11T20:25:19Z")

</div>

you would add the actions to whatever you want to trigger the send, so most likely a button.

---

<div class="post-metadata">

**Author:** ![Soig](https://avatars.discourse-cdn.com/v4/letter/s/eada6e/32.png) [@Soig](https://forum.kirupa.com/u/Soig)\
**Post date:** [April 11, 2006, 8:30pm UTC](https://forum.kirupa.com/t/sending-emails/185215/5 "2006-04-11T20:30:07Z")

</div>

I’m confussed by your question. Are you looking for a button so that they can click on it and send you an e-mail. Or are you looking for a button & textfield so that they can type in their e-mail and press send to send you their e-mail address?

If you want them to send you an e-mail message, the simplest button looks like this. Place this actionscript on the button.

> on (release){  
> getURL(“[mailto:joeBlow@mamahoohoo.com](mailto:joeBlow@mamahoohoo.com)”);  
> }

If you want them to send you their e-mail address, it is a bit more complicated and will require PHP.

---

<div class="post-metadata">

**Author:** ![add](https://avatars.discourse-cdn.com/v4/letter/a/0ea827/32.png) [@add](https://forum.kirupa.com/u/add)\
**Post date:** [April 11, 2006, 8:49pm UTC](https://forum.kirupa.com/t/sending-emails/185215/6 "2006-04-11T20:49:28Z")

</div>

> [@Soig](#):
>
> I’m confussed by your question. Are you looking for a button so that they can click on it and send you an e-mail. Or are you looking for a button & textfield so that they can type in their e-mail and press send to send you their e-mail address?
> 
> If you want them to send you an e-mail message, the simplest button looks like this. Place this actionscript on the button.
> 
> If you want them to send you their e-mail address, it is a bit more complicated and will require PHP.

i am going for just them imputing their email in a text box and then hitting the send button and it sends the email address into the email. their is no other way of achieving this without php?

---

<div class="post-metadata">

**Author:** ![JoshuaJonah](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/joshuajonah/32/1775_2.png) [@JoshuaJonah](https://forum.kirupa.com/u/JoshuaJonah)\
**Post date:** [April 11, 2006, 8:50pm UTC](https://forum.kirupa.com/t/sending-emails/185215/7 "2006-04-11T20:50:43Z")

</div>

nope

---

<div class="post-metadata">

**Author:** ![kortexvfd](https://avatars.discourse-cdn.com/v4/letter/k/f1d935/32.png) [@kortexvfd](https://forum.kirupa.com/u/kortexvfd)\
**Post date:** [April 12, 2006, 11:32am UTC](https://forum.kirupa.com/t/sending-emails/185215/8 "2006-04-12T11:32:17Z")

</div>

Well yes, but you have to rely on thier local email client. Use the getURL with

on (release){  
getURL("mailto:joeBlow@mamahoohoo.com?body="+flashVaribleFromTextBox);  
}

check my syntax, but that is the basic idea. THis will open the local email client with a mail message that has the person’s email as the subject.

---

<div class="post-metadata">

**Author:** ![nicholas87](https://avatars.discourse-cdn.com/v4/letter/n/41988e/32.png) [@nicholas87](https://forum.kirupa.com/u/nicholas87)\
**Post date:** [April 12, 2006, 2:28pm UTC](https://forum.kirupa.com/t/sending-emails/185215/9 "2006-04-12T14:28:24Z")

</div>

You can “borrow” a PHP server. that is the best way. If they just had to local client pop up so I could mail them, I wouldn’t do it… Thats something to remember
