I'm trying to get the contact form and site emails to work.
Drupal uses php mail function.
I installed PHP mailer:
http://drupal.org/project/phpmailer
to use SMTP authentication. the settings are

Primary SMTP server:
mail.darkeyesclothing.com
SMTP port:
25
Use secure protocol:
no
SMTP autentication:
is correct
Advanced SMTP settings
from:
is entered
As far as i can tell all the settings are correct,
the error is :
Sending of at least one e-mail failed. The error returned was:
Language string failed to load: connect_host.
I looked at this:
http://www.110mb.com/forum/phpmailer-problem-solved-t12637.0.html
but there are no language files for english.

when enabling full-debugging i get the error:
SMTP -> ERROR: Failed to connect to server: php_network_getaddresses: getaddrinfo failed: Name or service not known (0)

Drupal 6.14
MySQL database 5.0.22
PHP 5.2.9
Web server Apache/2.2.3 (Red Hat)
phpmailer 6.x-2.x-dev
phpmailer
Mime Mail

Comments

smk-ka’s picture

Status: Active » Fixed

Sending of at least one e-mail failed. The error returned was:
Language string failed to load: connect_host.

Thanks, that was a bug that has been fixed in CVS.

However,

when enabling full-debugging i get the error:
SMTP -> ERROR: Failed to connect to server: php_network_getaddresses: getaddrinfo failed: Name or service not known (0)

this is not related to PHPMailer, rather a DNS problem. I could successfully connect to your mail server via telnet, make sure this works from your web server, too. Feeding the getaddrinfo error to Google basically tells you the same (use the IP address as a last resort).

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.