Error in SMTP warning: fsockopen():

patrick_rys - December 7, 2008 - 15:34
Project:SMTP Authentication Support
Version:6.x-1.0-beta3
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:postponed (maintainer needs more info)
Description

I am getting the error below... i followed the instructions ans copied and placed phpmailer... i also dont have acces to the server because im using a shared server... the hosting company said they cant install openssl... i have no clue how to fix this i need help... thank you

warning: fsockopen(): unable to connect to smtp.bizmail.yahoo.com:465 in /development/drupal01/modules/smtp/phpmailer/class.smtp.php on line 122.
warning: fsockopen(): unable to connect to smtp.bizmail.yahoo.com:465 in /development/drupal01/modules/smtp/phpmailer/class.smtp.php on line 122.
Unable to send e-mail. Please contact the site admin, if the problem persists.

#1

patrick_rys - December 9, 2008 - 20:48
Title:Error in SMTP» Error in SMTP warning: fsockopen():

#2

vperep - October 9, 2009 - 02:28

hello!

same issue

# warning: fsockopen() [function.fsockopen]: unable to connect to mx.profit.su:25 (Operation not permitted) in /home/profit92/public_html/it/sites/all/modules/smtp/phpmailer/class.smtp.php on line 122.
# warning: fsockopen() [function.fsockopen]: php_network_getaddresses: getaddrinfo failed: hostname nor servname provided, or not known in /home/profit92/public_html/it/sites/all/modules/smtp/phpmailer/class.smtp.php on line 122.
# warning: fsockopen() [function.fsockopen]: unable to connect to :25 (php_network_getaddresses: getaddrinfo failed: hostname nor servname provided, or not known) in /home/profit92/public_html/it/sites/all/modules/smtp/phpmailer/class.smtp.php on line 122.

tried phpMailer_v2.1 and phpMailer_v2.3

thanks !

#3

vperep - October 10, 2009 - 23:38

the reason was the provider's settings that prevents sending using smtp function of PHPMailer

#4

virgomania - November 10, 2009 - 16:38

Maybe try another port. According the allknowing wikipedia, port 587 helped me with smtp-sending mails through 1blu.de (a german hoster). Now it works like a charm.

#5

franz - November 10, 2009 - 17:00

That usually happened to me when the SMTP server connection settings were wrong. Please, in the settings page can you activate debug and send a test message. It should print the whole connection attempt!

#6

franz - November 10, 2009 - 17:04
Status:active» postponed (maintainer needs more info)
 
 

Drupal is a registered trademark of Dries Buytaert.