<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How can I setup a SMTP server?  in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/how-can-i-setup-a-smtp-server/m-p/315077#M2078</link>
    <description>&lt;P&gt;Hi Manon!&lt;/P&gt;
&lt;P&gt;There is an easy way to setup a local smtp server by using this project:&amp;nbsp;&lt;A href="http://nilhcem.github.io/FakeSMTP/"&gt;http://nilhcem.github.io/FakeSMTP/&lt;/A&gt;. It binds a dummy SMTP server that listens on whichever port you want (it means that those mails won't be really sent) and on which you can setup Nuxeo to send outgoing mails: when the server sends a mail, it shows up into the list of received emails.&lt;/P&gt;
&lt;P&gt;To get this up and running, you only need to adjust your &lt;CODE&gt;$NUXEO_HOME/bin/nuxeo.conf&lt;/CODE&gt; file to reflect this setup.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class="language-bash"&gt;...
  
# Mail settings (for notifications)
#nuxeo.notification.eMailSubjectPrefix="[Nuxeo]"
mail.transport.host=localhost
mail.transport.port=25000 # Adjust with FakeSMTP configuration. Avoid port 25 that is generally used by other applications.
#mail.transport.auth=
#mail.transport.user=
#mail.transport.password=
#mail.from=
  
...

&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;To start the software, just launch the command:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;java -jar fakeSMTP.jar
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;If you are on Windows, you can check this software that seems to do the same job:&amp;nbsp;&lt;A href="http://smtp4dev.codeplex.com/"&gt;http://smtp4dev.codeplex.com/&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Manon&lt;/P&gt;</description>
    <pubDate>Fri, 27 Oct 2017 15:04:48 GMT</pubDate>
    <dc:creator>Manon_Lumeau</dc:creator>
    <dc:date>2017-10-27T15:04:48Z</dc:date>
    <item>
      <title>How can I setup a SMTP server?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-can-i-setup-a-smtp-server/m-p/315076#M2077</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I would like to setup a local SMTP server to test if the notifications work correcly on my instance. How can I do that?&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Manon&lt;/P&gt;</description>
      <pubDate>Fri, 27 Oct 2017 14:59:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-can-i-setup-a-smtp-server/m-p/315076#M2077</guid>
      <dc:creator>Manon_Lumeau</dc:creator>
      <dc:date>2017-10-27T14:59:52Z</dc:date>
    </item>
    <item>
      <title>Re: How can I setup a SMTP server?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-can-i-setup-a-smtp-server/m-p/315077#M2078</link>
      <description>&lt;P&gt;Hi Manon!&lt;/P&gt;
&lt;P&gt;There is an easy way to setup a local smtp server by using this project:&amp;nbsp;&lt;A href="http://nilhcem.github.io/FakeSMTP/"&gt;http://nilhcem.github.io/FakeSMTP/&lt;/A&gt;. It binds a dummy SMTP server that listens on whichever port you want (it means that those mails won't be really sent) and on which you can setup Nuxeo to send outgoing mails: when the server sends a mail, it shows up into the list of received emails.&lt;/P&gt;
&lt;P&gt;To get this up and running, you only need to adjust your &lt;CODE&gt;$NUXEO_HOME/bin/nuxeo.conf&lt;/CODE&gt; file to reflect this setup.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class="language-bash"&gt;...
  
# Mail settings (for notifications)
#nuxeo.notification.eMailSubjectPrefix="[Nuxeo]"
mail.transport.host=localhost
mail.transport.port=25000 # Adjust with FakeSMTP configuration. Avoid port 25 that is generally used by other applications.
#mail.transport.auth=
#mail.transport.user=
#mail.transport.password=
#mail.from=
  
...

&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;To start the software, just launch the command:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;java -jar fakeSMTP.jar
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;If you are on Windows, you can check this software that seems to do the same job:&amp;nbsp;&lt;A href="http://smtp4dev.codeplex.com/"&gt;http://smtp4dev.codeplex.com/&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Manon&lt;/P&gt;</description>
      <pubDate>Fri, 27 Oct 2017 15:04:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-can-i-setup-a-smtp-server/m-p/315077#M2078</guid>
      <dc:creator>Manon_Lumeau</dc:creator>
      <dc:date>2017-10-27T15:04:48Z</dc:date>
    </item>
    <item>
      <title>Re: How can I setup a SMTP server?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-can-i-setup-a-smtp-server/m-p/315078#M2079</link>
      <description>&lt;P&gt;Hi Manon,&lt;/P&gt;
&lt;P&gt;we are using &lt;A href="https://github.com/mailhog/MailHog" target="test_blank"&gt;https://github.com/mailhog/MailHog&lt;/A&gt;
It's an easy to use mailserver&amp;nbsp;with a docker container.
It has a nice API which allows us to run integration tests.&lt;/P&gt;
&lt;P&gt;cheers&lt;/P&gt;</description>
      <pubDate>Wed, 01 Nov 2017 06:37:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-can-i-setup-a-smtp-server/m-p/315078#M2079</guid>
      <dc:creator>Eduardo_Rodrigu</dc:creator>
      <dc:date>2017-11-01T06:37:59Z</dc:date>
    </item>
  </channel>
</rss>

