Categories

Versions

You are viewing the RapidMiner Studio documentation for version 10.3 - 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.

img/create-email-connection.png

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.

img/edit-email-connection.png

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.

img/send-mail.png

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: