# SMTP Method setup trouble

**URL:** <https://forums.concretecms.org/t/smtp-method-setup-trouble/4532>\
**Category:** Developing with Concrete\
**Created:** [November 26, 2022, 4:18am UTC](https://forums.concretecms.org/t/smtp-method-setup-trouble/4532 "2022-11-26T04:18:54Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pixelfixer](https://forums.concretecms.org/user_avatar/forums.concretecms.org/pixelfixer/32/5633_2.png) [@Pixelfixer](https://forums.concretecms.org/u/Pixelfixer)\
**Post date:** [November 26, 2022, 4:18am UTC](https://forums.concretecms.org/t/smtp-method-setup-trouble/4532/1 "2022-11-26T04:18:54Z")

</div>

My host server recently disabled use of PHP mailer, forcing me to switch to using SMTP. The best setup instructions for this that I have found are here: [https://www.fastcomet.com/tutorials/concrete5/configure-smtp](https://www.fastcomet.com/tutorials/concrete5/configure-smtp)  
Yet I cannot get it to work. I’m using Formidable for an Employment Application Form. The form works fine and stores the response online, but the notification of a form submission is not going out.

Below is a snapshot of my settings:

 ![image](https://forums.concretecms.org/uploads/default/original/2X/5/57e5f16acb485cc2963f73c3da1e8fe316b727fa.png)

Here is a snapshot of the error I get when I test these settings:  
 ![image](https://forums.concretecms.org/uploads/default/original/2X/7/791aebb401b7c156abee8a309fb5161cb7c37495.png)

Can anyone help me with this?

---

<div class="post-metadata">

**Author:** ![dbuonomo](https://forums.concretecms.org/user_avatar/forums.concretecms.org/dbuonomo/32/3575_2.png) [@dbuonomo](https://forums.concretecms.org/u/dbuonomo)\
**Post date:** [November 26, 2022, 9:36am UTC](https://forums.concretecms.org/t/smtp-method-setup-trouble/4532/2 "2022-11-26T09:36:39Z")

</div>

Ask your host what to use for the mail server and login credentials. This of course assumes that they are running an SMTP server. If not, you will need to use a service like Sendgrid, or my preference, Mailersend. Mailersend has a generous free plan.

Also, some SMTP servers require TLS, and 587 specified as the port.

---

<div class="post-metadata">

**Author:** ![mlocati](https://forums.concretecms.org/user_avatar/forums.concretecms.org/mlocati/32/6208_2.png) [@mlocati](https://forums.concretecms.org/u/mlocati)\
**Post date:** [November 26, 2022, 11:56pm UTC](https://forums.concretecms.org/t/smtp-method-setup-trouble/4532/3 "2022-11-26T23:56:35Z")

</div>

It seems that your SMTP configuration is correct, but you need to use a sender address with an authorized domain: you should change the default sender email address in the System & Settings \> Email \>  
System Email Addresses dashboard page

---

<div class="post-metadata">

**Author:** ![Pixelfixer](https://forums.concretecms.org/user_avatar/forums.concretecms.org/pixelfixer/32/5633_2.png) [@Pixelfixer](https://forums.concretecms.org/u/Pixelfixer)\
**Post date:** [November 28, 2022, 7:38pm UTC](https://forums.concretecms.org/t/smtp-method-setup-trouble/4532/4 "2022-11-28T19:38:34Z")

</div>

Thanks for the suggestion! I visited the System & Settings \> Email \>  
System Email Addresses dashboard page and changed the Default Email Address to [admin@mybethanyhome.org](mailto:admin@mybethanyhome.org) and the Form Block Email Address to [applications@mybethanyhome.org](mailto:applications@mybethanyhome.org). This allowed the Test to work within the SMTP Method configuration. But still, when I send a new Employment Application form entry, while it appears to complete successfully and shows up in Formidable Results, the notification email doesn’t seem to go out - not received - not in the spam folder either. Do you have any other suggestions?

---

<div class="post-metadata">

**Author:** ![Pixelfixer](https://forums.concretecms.org/user_avatar/forums.concretecms.org/pixelfixer/32/5633_2.png) [@Pixelfixer](https://forums.concretecms.org/u/Pixelfixer)\
**Post date:** [November 28, 2022, 8:09pm UTC](https://forums.concretecms.org/t/smtp-method-setup-trouble/4532/5 "2022-11-28T20:09:39Z")

</div>

Thank you for your suggestions! I have spoken with my host multiple times and it doesn’t look like there is anything to change on the host side. I am using their SMTP credentials. Also, I am using TLS and 587 as the port. Within the SMTP method setup in System Settings/Email, the Test works, but I still can’t get the Form to send a notification email.

---

<div class="post-metadata">

**Author:** ![Pixelfixer](https://forums.concretecms.org/user_avatar/forums.concretecms.org/pixelfixer/32/5633_2.png) [@Pixelfixer](https://forums.concretecms.org/u/Pixelfixer)\
**Post date:** [November 28, 2022, 9:13pm UTC](https://forums.concretecms.org/t/smtp-method-setup-trouble/4532/6 "2022-11-28T21:13:28Z")

</div>

So, I reviewed the Dashboard/Reports/Logs and found this:  
"Nov 28, 2022, 2:25:24 PM||Exceptions| **mainideas** |Mail Exception Occurred. Unable to send mail: Sorry! This server is unable to send email from this domain:  
[bethanylutheranhome.com](http://bethanylutheranhome.com). Please try sending from a domain on this server. "

I don’t know where it is finding the domain “[bethanylutheranhome.com](http://bethanylutheranhome.com)” to try and send from. That’s not a domain associated with this website or on the same server. Does anyone have a clue what I should look for to change this?

---

<div class="post-metadata">

**Author:** ![Pixelfixer](https://forums.concretecms.org/user_avatar/forums.concretecms.org/pixelfixer/32/5633_2.png) [@Pixelfixer](https://forums.concretecms.org/u/Pixelfixer)\
**Post date:** [November 28, 2022, 9:43pm UTC](https://forums.concretecms.org/t/smtp-method-setup-trouble/4532/7 "2022-11-28T21:43:36Z")

</div>

I found the solution.  
The specific problem I was having was solved when I changed the “From” email address to one with the same domain as the website. This form worked fine for many months with the “From” address set to the HR manager’s email address that used the domain “[bethanlutheranhome.com](http://bethanlutheranhome.com)”, a domain hosted on a different server, when I was using PHP Mailer, but it doesn’t work for SMTP. I changed that to “[applications@mybethanyhome.org](mailto:applications@mybethanyhome.org)”, the same email address I used to set up the “SMTP Method” and that fixed it.
