开发者

how to make a guestbook in flash and have it sent to your personal email

开发者 https://www.devze.com 2022-12-24 13:09 出处:网络
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 f开发者_开发知识库or it?

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 f开发者_开发知识库or it? thanks!


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.


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:you@yourdomain.com');
0

精彩评论

暂无评论...
验证码 换一张
取 消