Solved

Webform not sending

Posted on 2013-05-21
3
1,590 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
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Local Continuous Replication is a cost effective and quick way of backing up Exchange server data. The following article describes the steps required to configure Local Continuous Replication. Also, the article tells you how to restore from a backup…
Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
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…

705 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now