Click to See Complete Forum and Search --> : Php email script problem


humble linuxer
03-14-2005, 11:56 AM
I am using a PHP script to email a message from a flash website. The email gets sent to the correct destination (which is somename@somedomain.com) but 'from' field says 'invalid_address@.syntax-error' , also none of the variables in the form are in the body of the email (just the field labels).

Any ideas will be very much appreciated.

I have attached the file for both the php and the flash scripts

humble linuxer
03-14-2005, 12:18 PM
sorry i think i forgot to attach the script in the previous post

ph34r
03-14-2005, 01:23 PM
Heres a generic form2mail script i wrote in php, basically duplicates formmail.pl from Matts Script Archive.

You can add the from address when you create your messages headers. That should get you going.

humble linuxer
03-14-2005, 03:55 PM
Originally posted by ph34r
Heres a generic form2mail script i wrote in php, basically duplicates formmail.pl from Matts Script Archive.

You can add the from address when you create your messages headers. That should get you going.

thanks dude. Actually I am looking for opinions on why I'm getting the error message with my particular script.

NotJustANewbie
03-23-2005, 03:20 PM
Simple rule - don't use Flash... unless you absolutly HAVE to. (i.e. for your boss etc...)

:cool: