Getting Error message - "Unable to send e-mail. Contact the site administrator if the problem persists."

Email are send and received on same domain successfully where drupal is hosted.
but it don't send email to other domains gives above error message.

I have Tried with "SMTP Authentication Support" module it didn't work out. It just stop the error message emails are not send.

If any one know what is solution for error please let me know.

Thank You

Comments

shwchil’s picture

After reading lots of post I have tried lots of thing but nothing workout error is still there.

But I have added commerce kickstart a drupal distribution which work fine.
Also send emails to internal (mydomain.com) and external (gmail.com, etc ) email Ids.
send emails to user on register/create , on unblock.

drupal and commerce kickstart has been installed on same server as there no sendmail server problem.

Any one got any solution please let me know

Thank you

John_B’s picture

This looks like a server problem, and you need to be talking to the person who runs the server. The first questions to ask are (1) is there an outgoing mail spam filter? (2) when a mail fails to send, what is in the mail logs? (easiest thing is to trigger the problem, then look at the mail logs immediately).

Digit Professionals specialising in Drupal, WordPress & CiviCRM support for publishers in non-profit and related sectors

shwchil’s picture

Thanks For Reply

  1. I have just verified with my some old installation of drupal 7.9 from which email are successfully (send to external / internal email id)
  2. so I have downloaded drupal 7.9 and installed which is again gives error "Unable to send e-mail. Contact the site administrator if the problem persists."

both above installations are on same server working and non working.

Error Log Message -
"Error sending e-mail (from test@mydomain.com to test@gmail / any_external_domain.com)."

How do I Find where is exact problem?

John_B’s picture

Note - most sites which are publicly available on such an old version of Drupal have been hacked, because such an old site is missing many security updates, including the one issued on 15 Oct 2014 to address the massive vulnerability sometimes called Drupalgeddon.

The answer to your original question is still the same. The person who runs the server (you, if it is your server!) needs to be taking a look at the mail logs on the server to find out what happens when the site tries to send a message. The Apache error log probably does not give the detail you need. That is why you need to look at the mail logs.

Digit Professionals specialising in Drupal, WordPress & CiviCRM support for publishers in non-profit and related sectors