Thread: PHP Problem
View Single Post
Old 08-20-2007, 11:51 AM  
Serge Litehead
Confirmed User
 
Serge Litehead's Avatar
 
Industry Role:
Join Date: Dec 2002
Location: Behind the scenes
Posts: 5,190
from original post error is related to this line "$msg = ("We apologize but there has been a problem sending your email...." in you last post
that happens in the Else statement of if($snd)... so something is not working with that variable which represents $snd = mail($email, $regard, $htmlMail, $headers);
as far as we know $headers are there, but have no idea what are $email, $regard and $htmlMail actually are in $snd=mail(...) line

either not everything gets to that mail function or smtp is not configed right, find on the net simple mail() example or even from php manual make a saparate php file and test if that works correctly, if you can actually send an email with mail() function, this way you'll know if its smtp or something with the script... sorry can't provide mail() sample myself right now

good luck!
__________________
Serge Litehead is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote