Categories

Versions

You are viewing the RapidMiner Studio documentation for version 10.0 - Check here for latest version

Email connections

The concept of a connection object for email was introduced in RapidMiner Studio 9.4.

The Send Mail operator gives you the option of sending email alerts. To send an email alert, you first need to create an Email connection. Right-click on the Connection Folder Icon Connections subfolder in a relevant repository, and select Create Connection Icon Create Connection.

The Create connection dialog opens:

  1. As the Connection Type, select "Email (send)"

  2. Choose the appropriate Repository.

  3. Choose a Connection Name, and click Create.

SMTP details

The Edit connection dialog opens, and you can configure your connection. Here you need to enter the details connected with sending email via your email service provider.

For example, if you have a Gmail account, you can follow the advice in the link below.

Gmail offers SSL and TLS security, and in the example that follows, we'll assume we're using TLS. Note that StartTLS, also known as Opportunistic TLS, provides a way of upgrading a plain text connection to an encrypted (TLS or SSL) connection. Hence, we enter the following details:

  • Sender - %{smtp.user}
  • SMTP server - smtp.gmail.com
  • SMTP port - 587 (because we're using TLS security)
  • User name - <Gmail username>
  • Password - <Gmail password>
  • Security - StartTLS
  • Authentication - Auto

You can find the details for any other webmail provider online; in case of doubt, ask your system administrator.

Test the connection

To test the connection, press Test connection in the Edit connection dialog, or (to actually receive an email) build a simple process using the Send Mail operator.

In our example with Gmail, authentication fails because RapidMiner is a "non-Google app", but it can be resolved by one of the following actions: