# Bloomreach - SMTP Settings

**URL:** <https://community.bloomreach.com/t/bloomreach-smtp-settings/2444>\
**Category:** Experience Manager (PaaS/OnPrem)\
**Created:** [March 3, 2021, 5:48pm UTC](https://community.bloomreach.com/t/bloomreach-smtp-settings/2444 "2021-03-03T17:48:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mort365](https://avatars.discourse-cdn.com/v4/letter/m/f08c70/32.png) [@Mort365](https://community.bloomreach.com/u/Mort365)\
**Post date:** [March 3, 2021, 5:48pm UTC](https://community.bloomreach.com/t/bloomreach-smtp-settings/2444/1 "2021-03-03T17:48:51Z")

</div>

Hi there, I wondered if anyone can help me. We have installed enterprise forms into our bloomreach installation version 14.1 and I want to configure the mail smtp settings.

We are running in a docker image all good, can set the environment variables and at the moment I have this config inside context-mysql.xml which is amended when the docker container starts

\<Resource

```
    name="mail/Session"

    auth="Container"

    type="javax.mail.Session"

    mail.debug="true"

    mail.smtp.sendpartial="true"

    mail.smtp.auth="true"

    mail.smtp.starttls.enable="true"        

    mail.smtp.host="@mail.host@"

    mail.smtp.port="@mail.port@"

    mail.smtp.user="@mail.user@"

    mail.smtp.password="@mail.password@"

    mail.smtp.socketFactory.class="javax.net.ssl.SSLSocketFactory"

/>

```

However when we submit a form it is not sending an email, and it’s not logging any errors either, so I wondered in the configuration where are the email settings for bloomreach as a platform configured as I can find no documentation on the website documents.

Thanks  
John

---

<div class="post-metadata">

**Author:** ![Mort365](https://avatars.discourse-cdn.com/v4/letter/m/f08c70/32.png) [@Mort365](https://community.bloomreach.com/u/Mort365)\
**Post date:** [March 3, 2021, 6:10pm UTC](https://community.bloomreach.com/t/bloomreach-smtp-settings/2444/2 "2021-03-03T18:10:49Z")

</div>

I have solved it

mail.smtp.password should be just password

---

<div class="post-metadata">

**Author:** ![woonsanko](https://avatars.discourse-cdn.com/v4/letter/w/b5a626/32.png) [@woonsanko](https://community.bloomreach.com/u/woonsanko)\
**Post date:** [March 3, 2021, 6:12pm UTC](https://community.bloomreach.com/t/bloomreach-smtp-settings/2444/3 "2021-03-03T18:12:58Z")

</div>

The JavaMail connection factory JNDI resource configuration is provided by Apache Tomcat and the enterprise forms simply _uses_ the resource. [1]

So, if the settings are all interpolated correctly with the real connection settings, you will probably need to investigate the log files (e.g, $CATALINA\_BASE/logs/\*.log) to find and investigate any SMTP server connection errors. If any found, you will hit a lot of google search for various connection errors too.

Regards,

Woonsan

[1] [Apache Tomcat 9 (9.0.43) - JNDI Resources How-To](https://tomcat.apache.org/tomcat-9.0-doc/jndi-resources-howto.html#JavaMail_Sessions)
