views:

52

answers:

2

I wanted to make a guestbook for my flash website but I also need to have it sent to my email. Is there a way I can do this without using PHP or my sql? what would be the as2 for it? thanks!

A: 

Short answer: No, there is not a way to do it without a server-side language.

Long answer:
You may be able to do it with XMLSockets by connecting to your SMTP server and then sending the email using the SMTP protocol, but it would be a pain since most SMTP servers don't have a crossdomain.xml file.

icktoofay
A: 

There is no way to send an email with just ActionScript alone. You can either send the data entered to to a server-side script (PHP or whatever) or you can pop a new email in their email client doing something like this in as2:

getURL('mailto:[email protected]');
Clay Ferris

related questions