Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 11-12-2003, 03:15 AM   #1
Registered User
Join Date: Oct 2003
Posts: 24
Question Send A Greeting Email With Flash And Php

Few weeks ago I got help to send an email form using flash and php. Now I would like to include to send a greeting email to the visitor of my page (one more e-mail). I atthached the php code i'm using and it is not working Please help. I commentred the lines i added thinkingk that it was going to work
Please advice. Thanks


$from = $_POST['Email'];
$subject = "Forma de Comentarios";
$body = "";
$body .= "Name: ".$_POST['Name'] ."\n\n";
$body .= "Telephone: ".$_POST['Telephone'] ."\n\n";
$body .= "Message: ".$_POST['Message'] ."\n\n";

if(mail("[email protected]", $subject, $body, "From: $from\nReply-To: $from\nX-Mailer: PHP/" . phpversion())) {

//$subject = "Mensaje recibido con www.solano-gutierrez.com";
//$body = "Gracias por sus comentarios, pronto nos comunicaremos con usted. Saludos, Fernando Solano.";
//if(mail($from, $subject, $body, "From: "[email protected]"\nReply-To: "[email protected]"\nX-Mailer: PHP/" . phpversion())) {

print "&retVal=Mensaje enviado exitosamente.";

else {
print "&retVal=Error al enviar el mensaje.";

ferosi is offline   Reply With Quote

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

All times are GMT. The time now is 04:21 PM.

Follow actionscriptorg on Twitter


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.