PDA

View Full Version : php help - using mail()



!ben
January 19th, 2002, 07:19
I'm having trouble using the mail() command in PHP - it doesn't always appear to send an email.

Here's the code I use currently:


mail($email, "Welcome to IDz.net", $message, $header);


Does anyone know of a solution to this, or can suggest an alternative?

I'd also be grateful if someone could let me know how sendmail works - it's always been a mystery to me!

Thanks :bandit2:

andyLee
January 20th, 2002, 03:15
ask your server admin. It should be server setting problem.