Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can I send emails with Actionscript 3.0, or do I need to use PHP?

i wanted to know that using actionscript, is it possible to send email and create a front end in flashbuilder 4(flex), everywhere i see php being used for mails, is it possible?

like image 848
Abhilash Muthuraj Avatar asked Jan 08 '10 05:01

Abhilash Muthuraj


2 Answers

best practice would be to create a server side service to handle sending the email and having the Flex frontend communicate with that service.

There is however a library for as3 called as3maillib that you might want to checkout. I personally would recommend keeping it server side.

like image 134
Chris Gutierrez Avatar answered Sep 26 '22 21:09

Chris Gutierrez


Although the common practice is to send email using server side scripts, it is possible also in plain as3 using socket connections. There are even some libraries for this, like as3maillib and SMTP Mailer.

Edit: The SMTP Mailer page seems to be down at the time of writing, but you can see it through google cache...

like image 45
kkyy Avatar answered Sep 25 '22 21:09

kkyy