Forum Moderators: coopster

Message Too Old, No Replies

Is ISP blocking SMTP or something else?

yeah... i couldn't stay away

         

freshrod

8:12 pm on May 16, 2006 (gmt 0)

10+ Year Member



I've set up a user registration system and it emails a validation link to the user. This is pretty common, and I copied most of the code straight from an example. It all worked fine on my own server (Apache) but when I uploaded it to the webhost I don't get any email.

I read in my control panel that ISP's sometimes block SMTP emails to protect from spam. If this is so, what's the point? No one will be able to register.

I know there must be a way around this because I have register this very same way (email validation) for other sites. Can someone help me out?
Thanx

eelixduppy

10:07 pm on May 16, 2006 (gmt 0)



Many times ISP's block the use of port 25. You may have to find an alternative port.

freshrod

10:44 pm on May 16, 2006 (gmt 0)

10+ Year Member



eelix

Yeah, I think that's the case. In fact that is also what the support suggested doing as well.

So... How do I change the port? Is there some way to do that in the mail() function? Or do you have to configure something in your admin control panel?

eelixduppy

12:00 am on May 17, 2006 (gmt 0)



You could try:
ini_set [us2.php.net]("smtp_port [us3.php.net]",port_num);

freshrod

4:43 pm on May 17, 2006 (gmt 0)

10+ Year Member



fixed!
I messed up the mail() function.