E-mail support for Rapid Miner 7

wirtcalwirtcal Member Posts: 16  Maven
edited November 2018 in Help


I am trying to enable e-mail support on my recent RapidServer installation, however I am getting timeout exception and I hope some one can help me..


I have followed the steps from this article and my standalone.xml looks like

 <subsystem xmlns="urn:jboss:domain:mail:1.2">
<mail-session name="java:/Mail" jndi-name="java:/Mail" from="[email protected]">
<smtp-server outbound-socket-binding-ref="mail-smtp">
<login name="[email protected]" password="pa$$word"/>
        <outbound-socket-binding name="mail-smtp">
<remote-destination host="mail.intelexus.com.br" port="25"/>

And this is the log:

21:30:56,150 WARNING [de.rapidanalytics.tools.JndiMailSessionFactory] (http-/ Property com.rapidanalytics.mail.jndi_name is undefined. Assuming 'java:/Mail'.
21:32:11,887 SEVERE [com.rapidminer] (http-/ Cannot send mail to [email protected]: javax.mail.MessagingException: Could not connect to SMTP host: mail.intelexus.com.br, port: 25;
nested exception is:
java.net.ConnectException: Operation timed out


I am quite sure that my server has this unsecure version to connect with 

> [email protected]

> smtp: mail.intelexus.com.br

> port: 25


There is also another option with (more secure) with SSL/TLS

> smtp: br704.hostgator.com.br

> port: 465


I also tried to ping my domain, use the IP instead the domain...


Can somebody give some tip to solve this issue? Or provide some config to use a gmail account.




Best Answer

  • Marco_BoeckMarco_Boeck Team Lead Software Engineering Posts: 1,886   RM Engineering
    Solution Accepted



    the following works for me using Gmail. Please shut down your RapidMiner Server 7.2 before doing this:


    1. Find the "mail:1.2" subsystem
    2. Change the "from" value to "[email protected]"
    3. Replace the entire contents of the <smtp-server> tag with the following:
    4.  <smtp-server outbound-socket-binding-ref="mail-smtp" ssl="true">
      <login name="[email protected]" password="yourPassword"/>
    5. (stupid forum, this should be number 4): Look for the <outbound-socket-binding name="mail-smtp"> at the bottom of the standalone.xml file and change the <remote-destination> tag to:
      <remote-destination host="smtp.gmail.com" port="465"/>
    6. Start RM Server again

    You should now be able to send emails via the "System Settings" -> "Email configuration" web page.




Sign In or Register to comment.