Solved

Webform not sending

Posted on 2013-05-21
3
1,620 Views
Last Modified: 2013-06-15
Hi,
    I'm stuck and need some assistance from a drupal guru.  Have a Drupal 7 setup on my shared web server hosting (linux)..... however the main domain and email are run through their own mail server.  So....

Domain is registered with 123 reg, and several A records configured including MX record to their private mail server at their office.

A seperate www A record then exists pointing at my shared web hosting.

All working fine at this point, except the web forms cannot send email.... it gives the usual:
"Unable to send e-mail. Contact the site administrator if the problem persists."

I suspected this was due to the shared web server trying to look for a local email account, which didn;t exist, so I added the account on the shared web server, which worked, however the email didn't send!  

So at this stage I thought I would go in and delete the DNS zone information for this domain on the shared web server, thinking it will then look outside and everything will be fine, but it still does not work.

I have also installed the SMTP authentication module and entered some details of another ISP email account, but it still failed!

Can anyone help me out with this?

Cheers
0
Comment
Question by:damianb123
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 13

Accepted Solution

by:
Arrow_1 earned 500 total points
ID: 39185956
Your server should be configured to send mail by itself. You should not need to do anything with DNS or anything else.

Where are you seeing the "Unable to send e-mail. Contact the site administrator if the problem persists." error? If it is in the Drupal logs, then that means Drupal is unable to instruct the server to send the mail. This means there is either a module that you are using that is breaking things, or something is misconfigured on the server. Remove any module that might interfere with sending of mail such as SMTP authentication. If you are still getting the error, contact the hosting company. The misconfiguration is most likely on their end.

Drupal does not know whether or not the mail was actually sent, only that it was able to ask the server to send it. If Drupal reports the failure, then that means it couldn't even ask the server to try to send the mail.
0
 
LVL 17

Expert Comment

by:nanharbison
ID: 39194225
Who is your webhost? And were the email addresses created on the same webhost, like the hosting account includes some email accounts?
I have trouble with email when the email addresses exist in a completely different place, or when the webhost will only send emails to email addresses created through their hosting.
0

Featured Post

Office 365 Training for Admins - 7 Day Trial

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Domain on O365 6 56
exchange 2013 10 38
Exchange 2010 - Initialization failed 2 18
Last 4 numbers of a variable 9 24
MS Outlook is a world-class email client application that is mainly used for e-communication globally.  In this article, we will discuss the basic idea about MS Outlook, its advanced features, and types of MS Outlook File formats.
In-place Upgrading Dirsync to Azure AD Connect
To show how to create a transport rule in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Mail Flow >> Rules tab.:  To cr…
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…

751 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question