Answers.Body: <p>Generally I've been dissatisfied with the craft cms contact form plugin. Fortunately, this doesn't <em>need</em> to be handled with the CMS. I've been using third party tools such as <a href="https://www.formbucket.com" rel="nofollow noreferrer">Formbucket</a> to handle form submissions for several reasons.</p>
  
  <ol>
  <li><p>Reliability is extremely important. Most clients will not tolerate any mistakes regarding lead generation in contact forms.</p></li>
  <li><p>Feature rich. Craft's contact form plugin is very barebones and ugly. With formbucket and other form submission collection tools, you can add as many fields as you want instead of segmenting <code>message</code>. There is also honeypot and recaptcha fields to keep out spam.</p></li>
  </ol>
  
  <p>I know this is probably not the answer you were looking for, and I wish you the best with getting it to work, just wanted to let you know how i've been doing it. </p>
  
  <p>PS: I don't work for Formbucket. </p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-07-11T20:13:41.880Z
Answers.LastActivityDate: 2017-07-11T20:13:41.880Z
Answers.UserDisplayName: Clark Nelson
Body: <p>I've used the contact form plugin many times with no issues. However I have a site set up on a Linode server and for some reason the from address that I have added in the contact form settings e.g. contactus@mydomain.com is being changed to contactus@localhost.localdomain when the email comes through.</p>
  
  <p>Anyone any ideas what is causing this. I'm thinking it's a server setting but wanted to check the plugin wasn't causing anything weird to happen as well.</p>
  
  <p>Cheers</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-07-11T23:59:58.097Z
Comments.Text: I assume you're referring to the "To Email" in the Contact Form settings and not the "From Email", which is the one the end users inputs in the form?  If you look in the `craft_plugins` table in the database for that site, then find the row with the `ContactForm` class name, then find the `settings` column, what is "toEmail" set to there?
Comments.UserDisplayName: Brad Bell
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-07-12T07:01:45.410Z
Comments.Text: @bradbell it is set to the correct email with the domain name.
Comments.UserDisplayName: Lettie
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-07-12T18:46:21.723Z
Comments.Text: Do you have any other plugins installed that might be listening to Contact Form's [events](https://github.com/craftcms/contact-form/tree/v1#the-contactformbeforesend-event) and interfering?
Comments.UserDisplayName: Brad Bell
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-07-13T07:35:42.150Z
Comments.Text: @bradbell no just 2 simple ones sendfile and lj_cookies neither are listening.
Comments.UserDisplayName: Lettie
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-07-13T08:12:47.677Z
Comments.Text: @bradbell on further investigation it only seems to want to send to my personal address. Could this be a serverside issue?
Comments.UserDisplayName: Lettie
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-07-13T23:13:09.500Z
Comments.Text: I'm guessing you've got the https://craftcms.com/docs/config-settings#testToEmailAddress config setting set to your email address.
Comments.UserDisplayName: Brad Bell
Tags: <plugin-contactform>
Title: Contact Form email address set in the plugin's setting being changed by Linode server?
ThreadText: # Contact Form email address set in the plugin's setting being changed by Linode server?
  
  (Asked by: username_0 on 2017-07-11)
  
  I've used the contact form plugin many times with no issues. However I have a site set up on a Linode server and for some reason the from address that I have added in the contact form settings e.g. contactus@mydomain.com is being changed to contactus@localhost.localdomain when the email comes through.
  
  Anyone any ideas what is causing this. I'm thinking it's a server setting but wanted to check the plugin wasn't causing anything weird to happen as well.
  
  Cheers
  
  **Tags:** plugin-contactform
  
  > **Comments:**
  > **username_1**: I assume you're referring to the "To Email" in the Contact Form settings and not the "From Email", which is the one the end users inputs in the form?  If you look in the `craft_plugins` table in the database for that site, then find the row with the `ContactForm` class name, then find the `settings` column, what is "toEmail" set to there?  
  > **username_0**: @username_1 it is set to the correct email with the domain name.  
  > **username_1**: Do you have any other plugins installed that might be listening to Contact Form's [events](https://github.com/craftcms/contact-form/tree/v1#the-contactformbeforesend-event) and interfering?  
  > **username_0**: @username_1 no just 2 simple ones sendfile and lj_cookies neither are listening.  
  > **username_0**: @username_1 on further investigation it only seems to want to send to my personal address. Could this be a serverside issue?  
  > **username_1**: I'm guessing you've got the https://craftcms.com/docs/config-settings#testToEmailAddress config setting set to your email address.  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_2 on 2017-07-11. Score: 1
  
  Generally I've been dissatisfied with the craft cms contact form plugin. Fortunately, this doesn't *need* to be handled with the CMS. I've been using third party tools such as [Formbucket](https://www.formbucket.com) to handle form submissions for several reasons.
  
  1. Reliability is extremely important. Most clients will not tolerate any mistakes regarding lead generation in contact forms.
  2. Feature rich. Craft's contact form plugin is very barebones and ugly. With formbucket and other form submission collection tools, you can add as many fields as you want instead of segmenting `message`. There is also honeypot and recaptcha fields to keep out spam.
  
  I know this is probably not the answer you were looking for, and I wish you the best with getting it to work, just wanted to let you know how i've been doing it.
  
  PS: I don't work for Formbucket.
  
  
  ---
  
  