I am not very good with code and am going nuts with this. Appreciate any help. I am trying to have a website on a W2K box send a form entry to my email.
I run two servers on two different IPs:
#1 is a Centos/BQ box (Apache) for web pages, and form mail sends ONLY (mail enabled and using PHP Version 4.3.9), and
#2 is a Windows 2K Server box, running Argosoft Mail Pro, PHP Version 5.2.12, my DNS server and ONE website on Apache.
On my Centos/BQ box, all my PHP forms send fine through to Argosoft on the other box (and no problems with any users in Argo). My problem is with my W2K box. Argosoft runs fine and has never given me any issues.
On the W2K box, everything seems OK viewing pages, but when I try to send, Argo (on the same W2K box) shows it coming in, passes it thru the spam checks, OKs it and then it hangs with the message "354 Enter mail, end with "." on a line by itself". And one out of ~twenty, the message goes through!
I have tried using localhost (as well as an IP) as my email address. Argo sees the email coming in as 127.0.0.1, checks it out normally (as local), but hangs with 354.
I have ALSO tried basic email send-test php files (example: <? mail('info@cabida.com', 'Test Subject', 'See if you get this.'); ?> ) and they do the same thing - hang.
These are both happily running servers except for this email issue, which I feel must be either PHP or Apache and they way they talk to Argo.
Any ideas? Appreciate any help. Thank you
Email failures
Moderator: General Moderators
Re: Email failures
Have you tried what the error message suggested -- appending "." to the message on a line by itself?
Re: Email failures
Could you please give me an example to try?
I tried this:
<? mail('info@cabida.com', 'Test Subject', 'Please email if you get this.', '"."'); ?>
I tried this:
<? mail('info@cabida.com', 'Test Subject', 'Please email if you get this.', '"."'); ?>
Re: Email failures
It's a long shot, but
Code: Select all
<?php mail($to, $subject, $message . "\n.\n"); ?>Re: Email failures
same error
Re: Email failures
so here is my detailed crazy fix:
1. my W2K server didnt have IIS or email installed ('cause I use Argo and Apache) so I found and downloaded the free miniRelayserver by NetVicious onto my server and run it as a service.
2. I moded the mini to run on port 2525.
3. I moded my php.ini to see port 2525.
4. everything runs fine.
So whats the lesson learned here except NOBODY knows (or cares) why this PHP version? 5.2.12 cant talk to Argo?
Thank s to all.
1. my W2K server didnt have IIS or email installed ('cause I use Argo and Apache) so I found and downloaded the free miniRelayserver by NetVicious onto my server and run it as a service.
2. I moded the mini to run on port 2525.
3. I moded my php.ini to see port 2525.
4. everything runs fine.
So whats the lesson learned here except NOBODY knows (or cares) why this PHP version? 5.2.12 cant talk to Argo?
Thank s to all.