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?
i hope your using a server side code
http://www.kirupaforum.com/forums/showthread.php?threadid=17604&highlight=flash+php+email
jubba shows us how using php
is there any way to do it client side?
not unless you want the user’s default email to open and make them send themselves
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).
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
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.
definately interested. Unfortunately, I am not running SQL or PHP right now.
*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
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.
you dont need asp to talk to outlook. asp has CDONTS which sends mail from that page, without using outlook
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.
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.