I've been devloping a new site for our company and our company has our own SMTP server and I configured it in "SMTP Authentication Support" in Drupal 6.13. The problem is that I'm able to send email to our company's email account only. If I send email to other accounts with yahoo, hotmail or others, I got message as "Unable to send e-mail. please contact the site administrator...."

We use MS Outlook(desktop and web basis) and we could send email to anybody and never had any problem.

Please let me know what could cause this and how to fix it. Thanks.

Comments

ibrouk’s picture

I had same issue, email adresses with domain name same as of my site worked, but with other domain names didn't. I noticed that I was using external email address at:

Admnister>Site configuration>Site information>E-mail address

After changing email address to a local (so domain name=my site name), problem with sending emails to outside addresses went away.

grendzy’s picture

Project: Drupal core » SMTP Authentication Support
Version: 6.13 » 6.x-1.x-dev
Component: other » Code
Priority: Critical » Normal
Anonymous’s picture

My site stopped sending emails from either a gmail account or sympatico account. I get this error:

warning: fsockopen() [function.fsockopen]: unable to connect to ssl://smtphm.sympatico.ca:25 (Connection refused) in /home/petejor3/public_html/drupal/sites/all/modules/smtp/phpmailer/class.smtp.php on line 122.
warning: fsockopen() [function.fsockopen]: php_network_getaddresses: getaddrinfo failed: Name or service not known in /home/petejor3/public_html/drupal/sites/all/modules/smtp/phpmailer/class.smtp.php on line 122.
warning: fsockopen() [function.fsockopen]: unable to connect to ssl://:25 (php_network_getaddresses: getaddrinfo failed: Name or service not known) in /home/petejor3/public_html/drupal/sites/all/modules/smtp/phpmailer/class.smtp.php on line 122.
Unable to send e-mail. Please contact the site administrator if the problem persists.

I read everything I could but I am not very technically aware of these issues. Could someone please assist with this. Is there more info I could provide to help?

Anonymous’s picture

I tried the domain name change and still the same problem. I tried both GMAIL ports and SSL and TLS and another IP. All produced the same error message as above. With gmail SSL, the final one line error message is as follows:

Unable to send e-mail. Please contact the site administrator if the problem persists.

I don't know where to look for any more info on this problem.

More info:

I tried different test email accounts and got this:

SMTP -> FROM SERVER: SMTP -> FROM SERVER: SMTP -> ERROR: EHLO not accepted from server: SMTP -> FROM SERVER: SMTP -> ERROR: HELO not accepted from server: SMTP -> ERROR: AUTH not accepted from server: SMTP -> FROM SERVER: SMTP -> ERROR: RSET failed:

Roze-1’s picture

@pjsquared

i think you have changed something in php.ini file. Check the file again and let me know about it.

akalata’s picture

Status: Active » Postponed (maintainer needs more info)
Chimos’s picture

Version: 6.x-1.x-dev » 7.x-1.0-beta2
Status: Postponed (maintainer needs more info) » Active

Hi,

I'm not sure of posting correctly, sorry if I did it wrong.

I'm using D7 with SMTP Authentication Support. I use godaddy for hosting and for the administration mails.

I have everywhere the same godaddy mail for administration (info@example1.com), this is:
in Site information,
in SMTP Authentication Support "from" mail
and in the contact form reciever.

Normally, the contact form should send 2 mails with every query: one for the user that contacts ("Query recieved... thanks"), and the query itself.

The problem is that if I contact with a gmail mail user, I recieve the "recieved" mail in gmail but I DON'T recieve the query in the administrator mail (godaddy).
Otherwise if I contact with a godaddy mail user, I recieve both mails correctly.

My SMTP settings are:
SMTP server: relay-hosting.secureserver.net
SMTP port: 25
Use encrypted protocol: No
Address e-mail sender: info@example1.com

Can you help me?
Thanks in advance

wundo’s picture

Issue summary: View changes
Status: Active » Closed (fixed)