Hi I am running an server based auto responder script It was woking fine I tested it on one domain But when I went to move it to an other domain I ecountered a problem When a person enters their email address and hits submit they see this message Warning: mail() [function.mail]: SAFE MODE Restriction in effect. The fifth parameter is disabled in SAFE MODE in /mounted-storage/xxxxxxxxxxxxxxx/autoresponder/functions.php on line 810 That line is the code is: $result = mail($DB_EmailAddress, $Send_Subject, $Message_Body, $Message_Headers, "-f $DB_ReplyToEmail"); It is registering the email addresses but not sending message out As I said it was running OK on the first domain and still is but cant work on the second
your php safe mode is turned-on.. you cannot use mail function while it's on.. put this at the top of your script.. ini_set('safe_mode','off'); PHP: