This is some weirdness I've not experienced before - the contact form at http://allstarsforhope.org/contact is sending the form autoreply, but not the actual message. When I check the log, the messages are listed:
Details
Type mail
Date Monday, December 22, 2008 - 08:35
User admin
Location http://allstarsforhope.org/contact
Referrer http://allstarsforhope.org/contact
Message Arp [(email addy)] sent an e-mail regarding Information.
Severity notice
Hostname (ip)
Operations
I've troubleshot as much as I can:
1. I've triplechecked the email address (I originally had two separated by commas but simplified to one for testing).
2. The email addresses I've tested do work as I've successfully emailed them directly with my mail client.
3. I changed the test email so it was not sending to the same domain (ie gmail instead of an @allstarsforhope.org email)
4. Disabled Mollom (no other anti-spam modules were/are enabled)
5. Other Drupal sites on this same host work fine (all v5 though)
6. Since the autoreply is being sent, I assume the php mail function is working properly
7. I've tried sending while logged in and as an anonymous user - no difference
So it remains that the actual email the contact form is supposed to send out is not being sent. Coincidentally, webforms is doing the same thing (though the form submissions are properly recorded). As this is my first Drupal 6 site (6.8 to be exact), perhaps there's something I'm missing? Thanks!
Arp
Comments
I had a similar issue - I
I had a similar issue - I has an external domain pointing in from another registrar to my host - my host then had a virtual domain to point the request.
their DNS had set up properly, but the MX records for the domain were still on;
So what this meant was that anything sent from @mydomain *from* the webserver would be diverted via my host's MX records to essentially oblivion.
Anything sent from outside would work, as the DNS servers which were reached first (the external ones) were the correct ones.
In sum, check who's holding your MX records, and check your web host doesn't think it's hosting the mail for that domain if in fact it's located elsewhere.
--------------------------
OxAlto Design
http://www.oxalto.co.uk
--------------------------
That makes sense, but the
That makes sense, but the contact form's automatic response has always worked, regardless if the sending address from the same domain or not. That's what really stumping me - if the automatic response works, then Drupal can send mail. So what could be keeping the contact form or webform results from being mailed?
Arp Laszlo
bricksandclicks.marketing
design / theming / development / consulting
Is the automatic response
Is the automatic response going to the same domain as the email addresses to which you can't send? If so I'm stumped. :)
--------------------------
OxAlto Design
http://www.oxalto.co.uk
--------------------------
P.s
P.s - last idea - see if you can get a hold of your webserver's mail & error logs, may help in a diagnosis!
--------------------------
OxAlto Design
http://www.oxalto.co.uk
--------------------------
Thanks for taking the time
Thanks for taking the time to think about this :-)
The auto response is coming from the same domain as the site. It seems to go out fine.
I did notice before that using the same email address as the form From resulted in no message AND no auto-response. And the emails for the domain are handled by Google Apps. I'll check the registrar to see if there's anything amiss, but there have been no problems at all with the domain emails outside of Drupal.
I might look into the SMTP module next.
Arp Laszlo
bricksandclicks.marketing
design / theming / development / consulting
To clarify, it's not sending
To clarify, it's not sending the contact form messages at all to any address, but is sending the automatic response to the form.
Arp Laszlo
bricksandclicks.marketing
design / theming / development / consulting
quick update
I installed Drupal 6 on another site on the same server and ... the contact form works! I'm guessing there's a conflict with another module or something.
Arp Laszlo
bricksandclicks.marketing
design / theming / development / consulting
After installing mail_logger
The emails are being logged - I see 2 emails for each submission. 1 is autoresponse to the form. Only the autoresponses are going out. Since the autoresponses are going out, the mailing function must be ok. Very odd and highly frustrating. I made sure that the To email for the forms was not the same as the domain, just in case - no difference.
Arp Laszlo
bricksandclicks.marketing
design / theming / development / consulting
most odd, especially as the
most odd, especially as the another install on the same server is ok (which rules out MX records etc).
Stumped.
--------------------------
OxAlto Design
http://www.oxalto.co.uk
--------------------------
CNAME!
The mail was originally handled by Google Apps, and the problem was the CNAME pointing to ghs.google.com. Once that was removed, everything worked.
Arp Laszlo
bricksandclicks.marketing
design / theming / development / consulting
:) Glad you got it
:) Glad you got it sorted.
--------------------------
OxAlto Design
http://www.oxalto.co.uk
--------------------------
--------------------------
OxAlto Design
http://www.oxalto.co.uk
--------------------------
I seem to be having the exact
I seem to be having the exact same issue with the contact form...and using Google Apps as the recipient of the form submission. How does one change CNAME?
I had a similar problem too and solved it
Anyone still searching for help with a similar problem might want to check my comment (and the previous part of the thread) on this forum topic:
http://drupal.org/node/730716#comment-4262254
It was a similar situation, where the domain for the website was parked at my hosting account but the email for that domain was handled separately, and that's what tripped up the contact module.