The hosting company I am with is about to make a change that I think will cause a problem for me and the use of the contact.module. They will implement a new filter in a few weeks that will not allow formmail scripts to send any email as FROM: a domain not hosted by them. The filter will apparently continue to allow the REPLY-TO: field to pass.

I use the contact.module on a 4.7 and a 5.0 beta site. I believe this change by the hosting company will render this module useless to most of my visitors.

I am not a programmer and am seeking advice as to a solution or work around. Is it possible to add a feature to the contact.module to send the email FROM:admin@example.com and pass the REPLY-TO: as the actual submitter's email? This assumes that example.com is hosted by the hosting company and recognized by the script as an acceptable address to be sending outgoing email of course.

The hosting company is making this change in an effort to reduce SPAM being sent from formmail scripts in general. I believe their intentions are good. I assume other hosting companies are considering the same steps and others will run into this problem eventually.

Any thoughts or advice on this greatly appreciated. Thank you,

Comments

Abilnet’s picture

I had once a similar situation... just installing and configuring the SMTP -module did the trick (outgoing email is authenticated, so there's no high risk for spam)

http://drupal.org/project/smtp

Hope this helps