# Email Form

**URL:** <https://forum.kirupa.com/t/email-form/26282>\
**Category:** programming\
**Created:** [July 21, 2003, 6:12pm UTC](https://forum.kirupa.com/t/email-form/26282 "2003-07-21T18:12:50Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![grandsp5](https://avatars.discourse-cdn.com/v4/letter/g/6bbea6/32.png) [@grandsp5](https://forum.kirupa.com/u/grandsp5)\
**Post date:** [July 21, 2003, 6:12pm UTC](https://forum.kirupa.com/t/email-form/26282/1 "2003-07-21T18:12:50Z")

</div>

I am trying to set up a mailing list on my site where people can enter their email in an input box and flash will send a message to my email address which contains the entered address. I can’t seem to get it to work. Could someone please help?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 21, 2003, 6:20pm UTC](https://forum.kirupa.com/t/email-form/26282/2 "2003-07-21T18:20:43Z")

</div>

i hope your using a server side code  
[http://www.kirupaforum.com/forums/showthread.php?threadid=17604&highlight=flash+php+email](http://www.kirupaforum.com/forums/showthread.php?threadid=17604&highlight=flash+php+email)

jubba shows us how using php

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 21, 2003, 6:29pm UTC](https://forum.kirupa.com/t/email-form/26282/3 "2003-07-21T18:29:47Z")

</div>

is there any way to do it client side?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 21, 2003, 6:30pm UTC](https://forum.kirupa.com/t/email-form/26282/4 "2003-07-21T18:30:50Z")

</div>

not unless you want the user’s default email to open and make them send themselves

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 21, 2003, 6:33pm UTC](https://forum.kirupa.com/t/email-form/26282/5 "2003-07-21T18:33:29Z")

</div>

That would work. How do I do that? Either that or can I use flash to write a text file that will just keep track of everything that is entered in a field? Then I could just access the text file every few days and update the list myself. (I have more experience with this in C++, I am not sure whether flash can do it).

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 21, 2003, 6:37pm UTC](https://forum.kirupa.com/t/email-form/26282/6 "2003-07-21T18:37:53Z")

</div>

this would open default email and send info from your form into the email client

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

not sure how to write to a textfile, i never had to do it

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 21, 2003, 6:42pm UTC](https://forum.kirupa.com/t/email-form/26282/7 "2003-07-21T18:42:08Z")

</div>

Another option would be to set up a simple database. I’ve got a chapter in a book over here on setting up a simple registration form in Flash, and having the values kick out to an Access database, assuming you don’t have SQL Server running. Lemme know if you are interested.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 21, 2003, 6:45pm UTC](https://forum.kirupa.com/t/email-form/26282/8 "2003-07-21T18:45:17Z")

</div>

definately interested. Unfortunately, I am not running SQL or PHP right now.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 21, 2003, 6:46pm UTC](https://forum.kirupa.com/t/email-form/26282/9 "2003-07-21T18:46:46Z")

</div>

> \*Originally posted by Ital Stal \*  
> \*\*Another option would be to set up a simple database. I’ve got a chapter in a book over here on setting up a simple registration form in Flash, and having the values kick out to an Access database, assuming you don’t have SQL Server running. Lemme know if you are interested. \*\*

that would be the best way, sending info into a db, and email, but you need to have a server that supports it

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 21, 2003, 8:33pm UTC](https://forum.kirupa.com/t/email-form/26282/10 "2003-07-21T20:33:05Z")

</div>

You wouldn’t need SQL for this, just MS Access, which in this case, shouldn’t be so bad cause you can probably get it to talk to Outlook even, and do your whole mailing lists automatically.

You are going to need to find out if your server supports asp, cause that’s what the code I have uses.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 21, 2003, 8:42pm UTC](https://forum.kirupa.com/t/email-form/26282/11 "2003-07-21T20:42:26Z")

</div>

you dont need asp to talk to outlook. asp has CDONTS which sends mail from that page, without using outlook

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 21, 2003, 8:46pm UTC](https://forum.kirupa.com/t/email-form/26282/12 "2003-07-21T20:46:29Z")

</div>

No, he doesn’t need asp to talk to Outlook, I meant he needed asp to setup a connection between an Access database and the site. Then, once the e-mail address and user info records are databased, I was thinking he could probably get that information exported to Outlook, where he could automate the actual mailings in his address book. I’ve never tried it, but it seems like the two programs should talk to each other. If not, he’d at least have a database of all the information he wants for a mailing list available. But that’s only with this example that I have. If you have a simpler idea, I’m sure it would certainly be appreciated.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 21, 2003, 8:55pm UTC](https://forum.kirupa.com/t/email-form/26282/13 "2003-07-21T20:55:13Z")

</div>

o now i see. well what i do for that is i create a page that will send my mail to everyone in my db. the way i do that is create a record set with all email addresses in the db, then call that record set to the “to:” section of my asp mailer which i created. then i just fill out my form and it’s on it’s way to everyone.

i never tried hooking up my db to outlook. that might be an easier way for what you suggested, but i have no idea how to do it. not sure how to connect a record set to outlook.
