View Single Post
Old 11-30-2012, 12:16 PM   PM User | #2
tangoforce
Senior Coder

 
tangoforce's Avatar
 
Join Date: Feb 2011
Location: Your Monitor
Posts: 3,665
Thanks: 45
Thanked 456 Times in 444 Posts
tangoforce will become famous soon enoughtangoforce will become famous soon enough
Given the semi complex nature of your setup and the fact you've not told us if you're using sendmail, fakesendmail, SMTP etc, there isn't going to be a great deal that we can do to advise you here.

As for the coding issue, while the code may work perfectly well on one machine, it's quite possible for it not to run on another. Just silly things like one machine having a slightly different PHP version can cause problems. I worked on a project a while back that I developed using PHP 5.3 and when I uiploaded it to the server (running 5.0) all hell broke loose. Nothing really worked, the use of the date() function seemed to be knackered and I spent many hours debugging it to keep my rather worried client happy (and traced it down to something really silly to do with a 5.0 and 5.3 difference using the date() function iirc).

Now, your log shows one email accepted for delivery and another saying the service is unavailable. That could indicate thatr you're having spam problems outside of your network - EG your IP is blocked, maybe even port 25 or worse, your IP is on a spam blacklist. There are many reasons. I think you're going to have to run a local mail server and see if you can at least send mail @localhost just to be sure that it is actually sending and then try sending to a mailserver on another machine (or even your VM host) before trying to send mail out of the network again. It's a gradual process of trial and error to determine where the fault in the process is.
__________________
Please don't be rude: Put your php code in [php][/php] tags. It is a sticky topic at the top of the forum 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