PDA

View Full Version : PHP mail() function not doing anything?



probedb
01-08-2007, 03:26 AM
Hi all,

I've opened a support ticket about this as well but basically mail() appears to be doing nothing on my new site? It reports success but the emails aren't coming through. The fields being passed as arguments are:

TO: someemeialaddressthatworks@rotary.info
SUBJECT: [probedb.co.uk] A new Link has been added
MESSAGE: A new Link has been added.

View http://www.probedb.co.uk/ to view and authorise it.<br>
HEADERS: From: noreply@probedb.co.uk
EXTRA INFO: -f noreply@probedb.co.uk

Any thoughts?

Cheers :)

Paul.

areidmtm
01-08-2007, 08:50 AM
Lets see your PHP code

probedb
01-08-2007, 08:59 AM
Here's the important lines...you can see where I printed out the info in my first post:


print "TO:".$to_address_string."<br>\nSUBJECT:".$this->get_subject()."<br>\nMESSAGE:".$message."<br>\nHEADERS:".$mail_headers."<br>\nEXTRA:".$extra_parameters;
return mail($to_address_string, $this->get_subject(), $message, $mail_headers, $extra_parameters);

Not had any reply to my ticket as yet.