fscokopen() not open on port 25

SDM-MINK - April 12, 2009 - 05:31
Project:Email Verification
Version:6.x-1.0
Component:Miscellaneous
Category:feature request
Priority:normal
Assigned:dbr
Status:postponed (maintainer needs more info)
Description

I realize that this issue has come up before. My host has fscokopen() open on port 80. (I contacted my host regarding message that appeared after adding the Email Verification Module.)

Is it possible to change the port reference in the coding? Or create a patch that allows the fscokopen() to
(a) work on either open port 25 or 80, or
(b) work on any open port?

Thanks!

#1

globaldrifter - April 18, 2009 - 19:36

I'm having this problem too using HostGator. Looking forward to a solution.

#2

dbr - April 27, 2009 - 13:52
Assigned to:Anonymous» dbr
Status:active» postponed (maintainer needs more info)

For information: does it work in your setup if you manually change the code to use port 80 instead of 25?

#3

SDM-MINK - May 12, 2009 - 07:55

Where in setup can I make this change? Can you give me the file name & line number so that I can test? Thanks!

#4

dbr - May 13, 2009 - 07:29

There are two occurences of the port number "25" to change:

email_verify.inc.php line 39: $connect = @fsockopen($smtp, 25, $errno, $errstr, 15);
email_verify.install line 41: $connect = @fsockopen($smtp, 25, $errno, $errstr, 15);

 
 

Drupal is a registered trademark of Dries Buytaert.