The site wide contact form is sending the email, but with a blank text message.

Recent changes: upgrade from 4.7 to Drupal 5; installed and uninstalled the AdvancedContact.module.

Things I've tried: logout and back in, clear Views, clear cache/cookies, update.php, reinstall AdvContact.module, and deleted all Contact categories, turned the module off-on, retyped the categories info.

Any suggestions on what to try next?

Ashford

Comments

davereplicant’s picture

Hi,

Drupal 5.2 SMTP module installed to get round Fasthosts Spam servers Junking the message sent from the site.
I'm having the same problem and am working through the above suggestions.
Did anyone manage to figure this one out?

Thanks for your help

Dave

www.dawnofthereplicants.com

Ashford’s picture

I did eventually get the Contact Form to work after my original post. I had to do a fresh install of Drupal. Hopefully there is an easier way and someone will answer you, but that's what I had to do back then.

It was working. Now. It's cutting off the last part of every message, like there is a character limit.

Recent changes I've made include...
-- Installed the UpdateStatus.module and MassContact.module.
-- Uninstalled the MassContact.module.

centralh2o’s picture

I originally installed Drupal 6.8 and the contact form worked for a short while. I'm not sure what I did to break it. Maybe when I upgrade to 6.10 it will fix itself. Any suggestions so my customers can contact me in the meantime?

vm’s picture

consider disabling, uinstalling an reinstalling the module

Ashford’s picture

I'm looking for any common things we may have done that conflicted with the contact form.

Some of the other contributed modules require the MimeMail module to format HTML mail messages. Did you install MimeMail and check the box to "use MimeMail for all messages"?

Ashford

centralh2o’s picture

Thanks for the suggestion. I tried uninstalling and reinstalling and it didn't work. I tried using the Webform module to see if I could use it in place of the Contact module, but Webform is doing the same thing.

I did install mimemail, simplenews, and views modules, but they are currently disabled. Are you thinking we may need to uninstall these? I'm not using them, so I'll try it and let you know.

centralh2o’s picture

Okay, I got rid of mimemail, simplenews, and views (I figured views probably wasn't an issue, but I wasn't using it, so why keep it?) and the contact form now works. I'm not sure which module or which part of those modules conflicted with Contact, but at least it's working now. Thanks for the suggestion! Hope it works out for you too.

mcfilms’s picture

I turned off mimemail and simplenews. I MUST have views. This didn't work. I was still getting blank mails.

Then I deleted the mimemail and simplenews modules from the server. I also made sure to not compose the message with FCKeditor. THEN it worked.

A list of some of the Drupal sites I have designed and/or developed can be viewed at motioncity.com

Ashford’s picture

Problem: Contact form sends a blank message.
Possibility: Contact and MimeMail conflict

    Test ideas: Send a message after each change.
  1. Contact form only.
  2. Contact form with Wysiwyg installed + setting not to use in Contact form.
  3. Contact form with MimeMail installed.
  4. Contact form with MimeMail installed + setting "Use MimeMail for all messages."

I'll be unable to try it myself until next month. If someone else could test it before then, please report your findings. ---Ashford

kenorb’s picture

Mimemail have bug, that even when you disabled it, it still sending mails through Mimemail.
See this: #456260: WSOD: smtp_library variable is not removed when mimemail has been disabled

LordCorvin’s picture

Hey guys,
Do you know why Site wide Contact Form shows array of what it should send when I click send e-mail button instead of redirecting to thank you page and never sends the actual e-mail?

Please Help
Thanks,
LordCorvin