Answers.Body: <p>There's a support article here you can help use to debug email deliver issues: <a href="https://craftcms.com/support/troubleshooting-email-errors#dealing-with-email-delivery-issues" rel="nofollow noreferrer">https://craftcms.com/support/troubleshooting-email-errors#dealing-with-email-delivery-issues</a></p>
  
  <p>The TL/DR is, use a transaction email provider like Postmark, Mailgun, etc. and make sure you've got DKIM/SPF and DMARC all setup properly as well.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-04-17T21:19:49.037Z
Answers.LastActivityDate: 2018-04-17T21:19:49.037Z
Answers.UserDisplayName: Brad Bell
Body: <p>Locally in a MAMP environment Craft CMS/Contact Form plugin works great! But for some reason in production on a actual live server on the internet it fails to successfully send any emails.</p>
  
  <p>I'm not sure if this is because of the way email is handled by Craft? In Settings > Email, I set the transport type up to Gmail instead of the default Sendmail. But still no luck.</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2018-04-17T19:34:32.557Z
Comments.Text: If you test your email settings in /admin/settings/email (`test` button at the bottom of the page), what message do you get, and does that test email arrive?
Comments.UserDisplayName: Paul
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2018-04-17T19:35:54.227Z
Comments.Text: Successful. Just doesn't arrive. Looks like I may need to go the mailgun route
Comments.UserDisplayName: Payton Burdette
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2018-04-17T19:37:40.470Z
Comments.Text: Mailgun, Postmark, Mandrill ... With the advantage of clearer error message and status reports :)
Comments.UserDisplayName: Paul
Tags: <plugins><craft3><plugin-contactform>
Title: Craft CMS contact form plugin works locally but not in production?
ThreadText: # Craft CMS contact form plugin works locally but not in production?
  
  (Asked by: username_0 on 2018-04-17)
  
  Locally in a MAMP environment Craft CMS/Contact Form plugin works great! But for some reason in production on a actual live server on the internet it fails to successfully send any emails.
  
  I'm not sure if this is because of the way email is handled by Craft? In Settings > Email, I set the transport type up to Gmail instead of the default Sendmail. But still no luck.
  
  **Tags:** plugins, craft3, plugin-contactform
  
  > **Comments:**
  > **username_1**: If you test your email settings in /admin/settings/email (`test` button at the bottom of the page), what message do you get, and does that test email arrive?  
  > **username_0**: Successful. Just doesn't arrive. Looks like I may need to go the mailgun route  
  > **username_1**: Mailgun, Postmark, Mandrill ... With the advantage of clearer error message and status reports :)  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_2 on 2018-04-17. Score: 1
  
  There's a support article here you can help use to debug email deliver issues: <https://craftcms.com/support/troubleshooting-email-errors#dealing-with-email-delivery-issues>
  
  The TL/DR is, use a transaction email provider like Postmark, Mailgun, etc. and make sure you've got DKIM/SPF and DMARC all setup properly as well.
  
  
  ---
  
  