View Single Post
Old 11-30-2012, 01:31 PM   PM User | #4
tangoforce
Senior Coder

 
tangoforce's Avatar
 
Join Date: Feb 2011
Location: Your Monitor
Posts: 3,513
Thanks: 45
Thanked 439 Times in 428 Posts
tangoforce will become famous soon enoughtangoforce will become famous soon enough
I have elaborated. You need to use google a bit more and check out IP blacklists, port 25 testing etc. As I've said, you need to look at the logic flow here and work out which part of the chain is failing. You're a Zend Certified Engineer, you should know this!

Sendmail is an SMTP client. That means it will connect to a SMTP Server at the recipients domain and pass the email straight to it (in theory) OR it will be configured to use an SMTP relay. Now, it may be that your SMTP is not working because your ISP has blocked port 25 (maybe they've had a report of you spamming?). It maybe that your sendmail config has changed (eg, rolled back with a system restore) or maybe your IP is on a spammers IP blacklist. Again there is no definite answer I can give you because its a process of elimination.

You say you only need to send mail to yourself locally yet your log shows you're clearly trying to send to fletcher.co.uk which is not in your hosts file (so its out there on the web) so I'm not quite sure that I follow when you say you only need to send to yourself?
__________________
Please wrap your code in [php] tags. It is a sticky topic and it HELPS us to HELP YOU!
TIP: Coding styles and $end errors :::::::::: TIP: Warning: Cannot modify header information - headers already sent :::::::::: TIP: Quotes / Parse error: syntax error, unexpected T_..
PHP Code:
//Please don't use this for your form processing:
if (isset($_POST['submit']))
//Internet explorer has a bug and does not always send the submit value. 
Explanation: The IE if(isset($_POST['submit'])) bug explained.
tangoforce is offline   Reply With Quote