php email & flash

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View

hi, using flash and php script I try to send mail from my website (linux

The script is working but if I enable the marked lines    (//....)  the
script doesn't want to send mail .....

any idea?

name, subject, message & email are vars from the flash (post)
_parent.loadVariables("form.php",  "POST");

 $to = "";
 $msg =  "Mail afkamstig van: " ;
 $msg .= "$name\n\n";
 //$msg .= "Emailadres: ";
 //$msg .= "$email\n";
 //$msg .= "Boodschap: ";
 //$msg .= "\n\n";
 $msg .= "$message\n\n";

 mail($to, $subject, $msg, "From: Mijn web site\nReply-To: $email\n");

Re: php email & flash


on 04/26/2005 08:40 AM kyrbi said the following:
Quoted text here. Click to load it

I am not sure that is your problem, but in general body text must be
encoded with quoted-printable encoding to make sure than any non-ASCII
characters (8 bit) are encoded using only ASCII characters.

You may want to try this class if you don't know how to encode message
bodies using quoted-printable:


Manuel Lemos

PHP Classes - Free ready to use OOP components written in PHP /

PHP Reviews - Reviews of PHP books and other products /

Metastorage - Data object relational mapping layer generator

Site Timeline