mail() blocked by some ISP in UK?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
ipoh
Forum Newbie
Posts: 3
Joined: Thu Jan 29, 2004 11:15 am

mail() blocked by some ISP in UK?

Post by ipoh »

I got a php pages for my customer to send me request.

The php page worked for 4 months, but today I found that those request sending out from that page not receiving by me.

So then I try to change the sent to email adress in that page to my other email address like Hotmail and I can receive it.

I wonder the some mail server are blocking the mail().

I got 3 different domain mail server to test, 2 failed and 1 passed.

Here below is a simple mail() page I created.

<?php
mail("user@domain.co.uk", "the subject is subject", "message body here",
"From: root@$SERVER_NAME\r\n"
."Reply-To: root@$SERVER_NAME\r\n"
."X-Mailer: PHP/" . phpversion());
?>

Please advice...
Last edited by ipoh on Thu Jan 29, 2004 11:40 am, edited 1 time in total.
Straterra
Forum Regular
Posts: 527
Joined: Mon Nov 24, 2003 8:46 am
Location: Indianapolis, Indiana
Contact:

Post by Straterra »

Now, more and more ISP's are making their SMTP servers ASMTP (Authenticated). This is because of the recent virus's. What I have done to combat this, is download your own SMTP server.
ipoh
Forum Newbie
Posts: 3
Joined: Thu Jan 29, 2004 11:15 am

Post by ipoh »

I just try again and found the two hosting ISP I use in UK here are blocking the mail() to send in & out, for both web server and mail server.

I have another hosting ISP based in U.S. is no problem at all for mail() sending in and out.

This happened since last week because I have a few customer asking me why not reply thier request.

I think this mail() is being block now.

Any help???
Straterra
Forum Regular
Posts: 527
Joined: Mon Nov 24, 2003 8:46 am
Location: Indianapolis, Indiana
Contact:

Post by Straterra »

So..your ISP closes off the SMTP ports entirely?
m3rajk
DevNet Resident
Posts: 1191
Joined: Mon Jun 02, 2003 3:37 pm

Post by m3rajk »

not just that....a lot of recievers do mx authorization. if the mx table is of they don't accept
ipoh
Forum Newbie
Posts: 3
Joined: Thu Jan 29, 2004 11:15 am

Post by ipoh »

I am still working this out with the ISP :cry:
Post Reply