Сравнение версий

Ключ

  • Эта строка добавлена.
  • Эта строка удалена.
  • Изменено форматирование.

...

Open email Version 5 (Net)

Группа действийAction group: ПочтаMail

Описание

Действие выполняет подключение к почтовому серверу и возвращает контекст подключения.

Иконка действия

Image Removed

Параметры действия

Входные параметры

...

Description

The action connects to the mail server and returns the connection context.

Action icon

Image Added

Action parameters 

Input parameters 

  1. "Server type" field - selecting the type of mail server. To send mail: eSMTP. To receive mailПоле "Тип сервера" - Выбор типа почтового сервера. Для отправки почты: eSMTP. Для получения почты: eIMAP, ePOP3. Выпадающий списокDropdown list: eSMTP, eIMAP, ePOP3.
  2. Поле "Использование Using API" field - Выбор API, на котором работает серверselecting the API the server is using.
  3. Поле "SSL" field - Использовать протокол use SSL protocol. Поле
  4. "TLS" field - Использовать протокол use TLS protocol.
  5. Поле "ПортPort" - Порт для соединения
  6. Поле "URL сервера" - Адрес почтового сервера
  7. Поле "Логин" - Логин от почты
  8. Поле "Пароль" - Пароль от почты

Выходные параметры

Контекст - Контекст подключения к почтовому серверу.

Настройки

  1. field - connection port.
  2. "Server URL" - mail server URL.
  3. "User" field - mail login. 
  4. "Password" field - mail password.

Output parameters 

Context - mail server connection context.

Settings

PropertyDescriptionTypeFilling exampleMandatory field
Parameters
Server TypeSelecting the type of mail server. To send mail: eSMTP. To receive mail: eIMAP, ePOP3. Dropdown list

Свойство

Описание

Тип

Пример заполнения

Обязательность заполнения поля

Параметры

Тип сервера

Выбор типа почтового сервера. Для отправки почты: eSMTP. Для получения почты: eIMAP, ePOP3. Выпадающий список
: eSMTP, eIMAP, ePOP3.Robin.String
Да

Yes
Использование
Using API
Выбор API, на котором работает сервер. Доступные значения: без API, Exchange
Selecting the API the server is using.Robin.String
Да

Yes
SSL
Использовать протокол
Use SSL protocolRobin.Booleantrue
Нет
No
TLS
Использовать протокол
Use TLS protocolRobin.Booleantrue
Нет
No

Порт

Порт для соединения
PortConnection portRobin.Numeric
Да

Yes
Server URL
сервераАдрес почтового
Mail server URL
сервера
Robin.String
Да

Yes
Логин
User
Логин от почты
UserRobin.String
Нет

No
Пароль
Password
Пароль от почты
PasswordRobin.Password
Нет

No
Результаты
Results

Контекст

Контекст подключения к почтовому серверу
ContextMail server connection contextRobin.Email

Контекст email

Особые условия использования

Подключение к почтовым серверам - Яндекс

Перед использованием данных сервисов необходимо подключить почтовые программы, для этого необходимо перейти в настройки почты:

Image Removed

Для работы с внешней почтой Яндекса понадобиться создать пароль. Для этого необходимо выполнить следующие действия:

Image Removed

Далее задаем название внешнего пароля. После того как мы создали пароль его необходимо сохранить себе на компьютер, т.к. в дальнейшем у нас не будет доступа к нему.

Image Removed

Email context

Special conditions of use 

Connection to mail servers - Yandex

Before using these services connect the mail programs, to do this go to the mail settings:
Image Added

To work with external Yandex mail, you will need to create a password. To do this, perform the following actions:
Image Added

Next, set the name of the external password. After you have created a password, it must be saved to the computer, because in the future it will not be accessible to you.
Image Added


Protocol SMTPProtocol POP3Protocol
Протокол SMTPПротокол POP3Протокол
IMAP
SSLfalsetruefalsetruefalsetrue
Порт
Port25
ИЛИ
OR 587465110995143993
URLsmtp.yandex.rupop.yandex.ruimap.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:

Image Added

Go to the “Two-step authentication” page:
Image Added

Select the “Application passwords” section:
Image Added

Next, specify the name of the application and click the “Create” button:
Image Added

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 SMTPProtocol POP3Protocol
Протокол SMTPПротокол POP3Протокол
IMAP
SSLfalsetruefalsetruefalsetrue
Порт
Port587465110995143993
URLsmtp.gmail.compop.gmail.comimap.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Перед использованием данных сервисов необходимо подключить почтовые программы:
Image Modified

Далее нажать кнопку "Add" и ввести название для пароля. После нажать продолжить и далее появиться пароль, который необходимо сохранить себе на компьютер,

т.к. в дальнейшем к нему доступа не будет.

Image Removed

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.
Image Added


Protocol SMTPProtocol POP3Protocol
Протокол SMTPПротокол POP3Протокол
IMAP
SSLfalsetruefalsetruefalsetrue
Порт
Port25
ИЛИ
OR 587465110995143993
URLsmtp.mail.rupop.mail.ruimap.mail.ru
User
<логин (адрес электронной почты полностью, с доменом
<user (full email address, with the domain)>
Password
<пароль>

...

<password>

Connecting to mail servers - it.ru

Протокол

Protocol SMTP
Протокол
Protocol POP3
Протокол
Protocol IMAP
SSLfalsetruefalsetruefalsetrue
Порт
Port25




URLgate02.it.ru

User
<логин (адрес электронной почты полностью, с доменом
<user (full email address, with the domain)>
Password
<пароль>
<password>

When selecting an Exchange Api, only these three parameters are taken into accountПри выборе Exchange Api учитываются только эти три параметра:
Image Modified

Пример использования

Задача

Получить все письма от testsforrobin@mail.ru за определенный временной интервал и сохранить полученные письма в виде таблицы в формате CSV.

Решение

  1. Подключить почтовый ящик с которого будет выслано письмо. Для любых действий с конкретным почтовым ящиком, необходимо сперва подключиться к нему, создать его уникальный идентификатор (Контекст).

    1. Определить почтовый сервис. (От почтового сервиса зависят параметры подключения к почтовому ящику).

  2. Отправить сообщение.

  3. Реализация

Открыть группу действий "Почта" (подгруппа "Почта Net")

...

Example of use 

Task

Get all mails from testsforrobin@mail.ru for a certain time interval and save received emails as a CSV table.

Solution

  1. 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).

    1. Define the mail service. (Connection parameters to the mailbox depend on the mail service).

  2. Send email. 

Implementation

Open "Mail" action group ("Mail Net" subgroup).

  1. Assemble a robot scheme with the actions:
    Image Added

  2. Set the "Open email" action parameters. 
    Image Added

  3. Setting action parameters:

    1. "Server type" parameter. From the dropdown list select "eSMTP" to send an email.

    2. "Using API" parameter. Set "No API". 

    3. "SSL" parameter. Check the checkbox.

    4. "Port" parameter. Set 465 according to settings requirement of the Mail.ru mailing server. 

    5. "Server URL" parameter. Set smtp.mail.ru according to settings requirement of the Mail.ru mailing server. 

    6. "User" parameter. Set test_robin_mail@mail.ru as the mail from which to send an email. 

    7. "Password" parameter. Set the mail password. 

    4. Place the “Get message” action in the studio workspace.


    Image Added

    Setting action parameters:

    1. "Context" parameter. From a dropdown list select a context corresponding to mail from which the emails will be subtracted. 

    2. "From" parameter. Set sender's mail. 

    3. "Starting date" parameter. Set the starting date of the interval. 

    4. "Ending date" parameter. Set the ending date of the interval. 

    5. "Results" parameter. Set the "Table" variable to which the information from the emails will be saved. 

    6. "Number of messages" parameter. Set the "Counter" variable to which the information about the number of emails will be saved. 


    5. Click "Start" in the top panel. 

Result

image2024-1-30_17-21-23.pngImage Added

Mailbox testsforrobin@mail.ru is connected. The data from emails is stored in the CSV table

Результат

image2024-1-30_17-21-23.pngImage Removed

Почтовый ящик testsforrobin@mail.ru подключен. Данные писем занесены в таблицу CSV.

image2024-1-30_17-27-18.png