# SMTP Connector to Exchange Issue

**URL:** <https://community.ofelia.com/t/smtp-connector-to-exchange-issue/4159>\
**Category:** Q&A\
**Created:** [13 December 2013 17:42 UTC](https://community.ofelia.com/t/smtp-connector-to-exchange-issue/4159 "2013-12-13T17:42:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://europe1.discourse-cdn.com/flex013/uploads/community_bonitasoft/original/2X/6/6b7b18c0478f2645369e82e009b65e3b97f2cc12.svg) [@system](https://community.ofelia.com/u/system)\
**Post date:** [13 December 2013 17:42 UTC](https://community.ofelia.com/t/smtp-connector-to-exchange-issue/4159/1 "2013-12-13T17:42:30Z")

</div>

Hi,

I am new to bonita and attempting to set up some simple test processes. &nbsp;I am having difficulty configuring the SMTP connector to send out a test mail.

I have connectivity to the mail server and have opened all necessary ports from my machine and on the server. &nbsp;i can ping and telnet to the exchange server as well as send a mail through telnet.

I have set up the connector using the connector Email (SMTP) (1.0.0) -- Send an email using SMTP (RFC 5321) but when I try to sent the test I get the error:

java.lang.reflect.InvocationTargetException  
 org.bonitasoft.engine.bpm.connector.ConnectorExecutionException: org.bonitasoft.engine.core.connector.exception.SConnectorException: org.bonitasoft.engine.connector.exception.SConnectorException: java.util.concurrent.ExecutionException: org.bonitasoft.engine.connector.exception.SConnectorException: org.bonitasoft.engine.connector.ConnectorException: Could not connect to SMTP host: 192.168.16.38, port: 25

Its an exchange 2007 test environment and I am running the latest Bonita package on standard windows 8.1. &nbsp;Have also disabled the local firewall but it made no difference.

Any help would be appreciated.

&nbsp;

---

<div class="post-metadata">

**Author:** ![simon.tilbrook](https://avatars.discourse-cdn.com/v4/letter/s/c0e974/32.png) [@simon.tilbrook](https://community.ofelia.com/u/simon.tilbrook)\
**Post date:** [3 February 2014 12:27 UTC](https://community.ofelia.com/t/smtp-connector-to-exchange-issue/4159/2 "2014-02-03T12:27:46Z")

</div>

Hi Gary

did you find out what the problem was?

I am having the same error with Bonita 6.1.1 when attempting to use an SMTP server which works fine when using telnet to the same server and port as I have defined in the connector.

---

<div class="post-metadata">

**Author:** ![simon.tilbrook](https://avatars.discourse-cdn.com/v4/letter/s/c0e974/32.png) [@simon.tilbrook](https://community.ofelia.com/u/simon.tilbrook)\
**Post date:** [3 February 2014 17:29 UTC](https://community.ofelia.com/t/smtp-connector-to-exchange-issue/4159/3 "2014-02-03T17:29:50Z")

</div>

In fact I have found the answer for my case myself.

By default the SSL [] checkbox is ticked under Security on the Connection Information configuration page. When I unticked the checkbox this SMTP conector worked perfectly.
