Hi there. Attached is a report of an error that I am getting with a new Druplal 5.0
installation. Looked through the forums and bug reports but found nothing to help
me out. What could I be doing wrong?

- Druplay Version: 5.0
- Operating System: XP Pro/SP2
- Web Server: Apache 1.3.26
- PHP: 4.4.4
- MySQL: 4.1.22

- Module:

smtp-HEAD.tar.gz - installed and is active.
SMTP server: smtp.inspire.net.nz
SMTP port: 25

- Page:

http://127.0.0.1/kiwimedev/?q=contact ---> http://127.0.0.1/kiwimedev/

- Error:

* warning: fsockopen() [function.fsockopen]: unable to connect to smtp.inspire.net.nz:25 in

i:\kiwimedev\sites\all\modules\smtp\smtp.module on line 1894.
* warning: fsockopen() [function.fsockopen]: unable to connect to :25 in

i:\kiwimedev\sites\all\modules\smtp\smtp.module on line 1894.

Your message has been sent.

-php.ini entry

[mail function]
; For Win32 only.
SMTP = smtp.inspire.net.nz ; for Win32 only
smtp_port = 25
sendmail_from= patvr@myhost.com ; for Win32 only

Thanks in advance

Pat

Comments

MRsneezy’s picture

I am experiancing the same problem. but a diferent line??

no mail is being sent??

* warning: fsockopen() [function.fsockopen]: php_network_getaddresses: getaddrinfo failed: No address associated with nodename in /Library/WebServer/adef.blogsyte.com/modules/smtp/smtp.module on line 1834.
* warning: fsockopen() [function.fsockopen]: unable to connect to mail.bigpond.com.au:25 in /Library/WebServer/adef.blogsyte.com/modules/smtp/smtp.module on line 1834.
* warning: fsockopen() [function.fsockopen]: php_network_getaddresses: getaddrinfo failed: nodename nor servname provided, or not known in /Library/WebServer/adef.blogsyte.com/modules/smtp/smtp.module on line 1834.
* warning: fsockopen() [function.fsockopen]: unable to connect to :25 in /Library/WebServer/adef.blogsyte.com/modules/smtp/smtp.module on line 1834.

mike stewart’s picture

has been a problem for a while... http://drupal.org/node/126147#comment-226970

vitrag’s picture

Hey guys even i have he same problem, no idea how to fix this
i have drupal 5.1 in fc6 with apache and mysql
the smtp head module is installed and active
error is get is
-------
Error sending email: "SMTP Error: The following recipients failed: xxxxx@xxxxxx.xxx" From: "xxxxx@xxxxxx.xxx" To: "xxxxx@xxxxxx.xxx"
--------
any help on this will be really appreciated

mahajankirti’s picture

I was also having the similar problem. With FC6, Firewall and SELinux are enabled by default. One has to either disable(not recommended) SELinux or customize it. See commmand system-config-seuritylevel. This solved my problem

oadaeh’s picture

Status: Active » Closed (fixed)

Try it again with a newer version. There have been many bug fixes submitted today.