История страницы
...
Open email Version 1 (Java)
Группа действийAction group: ПочтаMail
Описание
Действие выполняет подключение к почтовому серверу и возвращает контекст подключения.
Иконка действия
Параметры действия
Входные параметры
- Поле "Тип сервера" - Выбор типа почтового сервера. Для отправки почты: eSMTP.Для получения почты: eIMAP, ePOP3. Выпадающий список: eSMTP,eIMAP,ePOP3.
- Поле "Использование API" - Выбор API, на котором работает сервер.
- Поле "SSL" - Использовать протокол SSL
- Поле "TLS" - Использовать протокол TLS
- Поле "Порт" - Порт для соединения
- Поле "URL сервера" - Адрес почтового сервера
- Поле "Логин" - Логин от почты
- Поле "Пароль" - Пароль от почты
Выходные параметры
Контекст - Контекст подключения к почтовому серверу
Настройки
...
Description
The action makes a connection to the mail server and returns the connection context.
Action icon
Property | Description | Type | Filling example | Mandatory field |
Parameters | ||||
Server Type | Selecting the type of mail server. To send mail: eSMTP. To receive mail: eIMAP, ePOP3. Dropdown list |
Свойство
Описание
Тип
Пример заполнения
Обязательность заполнения поля
Параметры
Тип сервера
: eSMTP, eIMAP, ePOP3. | Robin.String |
Yes |
Using API |
Selecting the API the server is using. | Robin.String |
Yes | |
SSL |
Use SSL protocol | Robin.Boolean | true |
No |
TLS |
Use TLS protocol | Robin.Boolean | true |
No |
Порт
Port | Connection port | Robin.Numeric |
Yes | |
Server URL |
Mail server URL |
Robin.String |
Yes |
User |
User | Robin.String |
No |
Password |
Password | Robin.Password |
No |
Results |
Контекст
Context | Mail server connection context | Robin. |
Контекст email
Особые условия использования
Подключение к почтовым серверам - Яндекс
Перед использованием данных сервисов необходимо подключить почтовые программы:
Для работы с внешней почтой Яндекса понадобиться создать пароль. Для этого необходимо выполнить следующие действия:
Далее задаем название внешнего пароля. После того как мы создали пароль его необходимо сохранить себе на компьютер, т.к. в дальнейшем у нас не будет доступа к нему.
JavaMail |
Special conditions of use
Connection to mail servers - Yandex
Before using these services, it is necessary to connect email programs:
To work with external Yandex mail, you will need to create a password. To do this, perform the following actions:
Next, set the name of the external password. After we have created a password, it must be saved to our computer, because we will not have access to it in the future.
Protocol SMTP | Protocol POP3 | Protocol |
---|
IMAP | ||||||
---|---|---|---|---|---|---|
SSL | false | true | false | true | false | true |
Port | 25 |
OR 587 | 465 | 110 | 995 | 143 | 993 | |
URL | smtp.yandex.ru | pop.yandex.ru | imap.yandex.ru | |||
User |
<user (the part of the email address up to the @ sign, without the domain)> | |||||
Password |
Подключение к почтовым серверам - Gmail
<password> |
Connecting to mail servers - Gmail
To work with mail, you will need to create a password. To do this, perform the following actions:
Go to your Google account profile and click on the "Safety" tab:
Go to the "Two-step authentication" page:
Select the "Application passwords" section:
Next, specify the name of the application and click the "Create" button:
Next, a password will appear, which must be saved to your computer, as you will not be able to access it in the future. Use the received password in the "Password" field.
Protocol SMTP | Protocol POP3 | Protocol |
---|
IMAP | ||||||
---|---|---|---|---|---|---|
SSL | false | true | false | true | false | true |
Port | 587 | 465 | 110 | 995 | 143 | 993 |
URL | smtp.gmail.com | pop.gmail.com | imap.gmail.com | |||
User |
<user (full email address, with the domain)> | |||||
Password |
Подключение к почтовым серверам - Mail
Перед использованием данных сервисов необходимо подключить почтовые программы:
Далее нажать кнопку Добавить и ввести название для пароля. После нажать продолжить и далее появиться пароль, который необходимо сохранить себе на компьютер,
т.к. в дальнейшем к нему доступа не будет:
<password> |
Connecting to mail servers - Mail
Before using these services, connect your email programs:
Then click the "Add" button and enter a name for the password. After click continue and then the password will appear, which must be saved to your computer, as you will not be able to access it in the future.
Protocol SMTP | Protocol POP3 | Protocol |
---|
IMAP | ||||||
---|---|---|---|---|---|---|
SSL | false | true | false | true | false | true |
Port | 25 ИЛИ 587 | 465 | 110 | 995 | 143 | 993 |
URL | smtp.mail.ru | pop.mail.ru | imap.mail.ru | |||
User |
<user (full email address, with the domain)> | |||||
Password |
...
<password> |
Connecting to mail servers - it.ru
Protocol SMTP |
---|
Protocol POP3 |
---|
Protocol IMAP | ||||||
---|---|---|---|---|---|---|
SSL | false | true | false | true | false | true |
Port | 25 | |||||
URL | gate02.it.ru | |||||
User |
<user (full email address, with the domain)> | |||||
Password |
При выборе Exchange Api учитываются только эти три параметра:
Пример использования
Задача
<password> |
Selecting "API Usage"="Exchange" will enable the configuration for "Exchange". The three highlighted parameters are taken into account.
Example of use
Task
Get all emails from Получить все письма от test_robin_mail@mail.ru, с темой письма "Сотрудникwith the subject line "Employee".
Решение
Подключить почтовый ящик с которого будет выслано письмо. Для любых действий с конкретным почтовым ящиком, необходимо сперва подключиться к нему, создать его уникальный идентификатор (Контекст).
Определить почтовый сервис. (От почтового сервиса зависят параметры подключения к почтовому ящику).
Отправить сообщение.
Реализация
Открыть группу действий "Почта" (подгруппа "Почта Java").
...
Настроить параметры для действия "Настройки подключения".
Настроить параметры для действия "Отправить сообщение".
...
Нажать на кнопку "Старт" в верхней панели.
Solution
- Connect the mailbox from which the email will be sent. For any actions with a particular mailbox, you must first connect to it, create its unique identifier (Context).
Define the mail service. (Connection parameters to the mailbox depend on the mail service).
Send email.
Implementation
Open "Mail" action group ("Mail Java" subgroup).
- Assemble a robot scheme with the actions:
Set the "Open email" action parameters.
Setting action parameters:
"Server type" parameter. From the dropdown list select "eSMTP" to send an email.
"Using API" parameter. Set "No API".
"SSL" parameter. Check the checkbox.
"Port" parameter. Set 465 according to settings requirement of the Mail.ru mailing server.
"Server URL" parameter. Set smtp.mail.ru according to settings requirement of the Mail.ru mailing server.
"User" parameter. Set test_robin_mail@mail.ru as the mail from which to send an email.
"Password" parameter. Set the mail password.
Set the parameters for the "Send message" action.
Set the action parameters:
"Context" parameter. It is necessary to select the context corresponding to the mailbox test_robin_mail@mail.ru.
"From" parameter. Specify the mailbox from which we are sending the message.
"To" parameter. Specify the mailbox to which we are sending the message.
"Subject" parameter. Specify the subject of the message.
"Message body" parameter specifies a text variable with data about the employee.
- Click on the "Start" button in the top panel.
Result
The mailbox testsforrobin@mail.ru is connected.
A message with personal data has been sent.
Результат
Почтовый ящик testsforrobin@mail.ru подключен. Сообщение с персональными данными отправлено.