Flash & attachment AS3

Sendmail

Nuova versione del sendMail più allegato, testato su server windows e linux, anche su aruba. Il php (allegato) può essere utilizzato con le dovute modifiche per la vecchia versione in AS2.
Da modificare nel fla le seguenti variabili:

var URLrequest:URLRequest = new URLRequest("http://domain/send.php");
variables.toEmail = "mail@mail.it";
variables.subject = "Contact form";

e aumentare / diminuire il valore massimo dell’upload:

if (file.size > 200*1024) {

altre eventuali modifiche sono abbastanza intuitive, anche se, come al solito, il sorgente non è commentato, di sicuro una prossima implementazione sarà una barra di caricamento per l’upload del file, se avete altri consigli…

Download: Flash & attachment AS3  Flash & attachment AS3 (813.6 KiB, 1,642 hits)



If you find our work useful and want to encourage the development of more free resources, you can do it by donating through PayPal, the people.