[SOLVED] my problem with mail() function?
Posted: Tue Feb 01, 2005 12:48 pm
i have been working with two servers... i put the same script on both and it works fine on one but not the other.. this is the script that i've been using.
I get the email every time, but when i try that on my other server, i get nothing. yet, i have another script that i didnt write mail correctly.. i cant figure that script out though to see how it does it. i've been studying the php manual for this as well, all the header stuff consuses me. Any help would be great.. thanks
Code: Select all
$clean_message = trim(stripslashes($message));
mail("myemail@domain.com", "$subject", "$clean_message",
"From: website");I get the email every time, but when i try that on my other server, i get nothing. yet, i have another script that i didnt write mail correctly.. i cant figure that script out though to see how it does it. i've been studying the php manual for this as well, all the header stuff consuses me. Any help would be great.. thanks