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

Ключ

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

...

Send message Version 9 (Net)

...

Action group:

...

Mail

Описание

Создает сообщение и отправляет его по указанному адресу.

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

Image Removed

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

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

  1. Поле “Контекст” - Идентификатор сеанса работы с почтовым сервером.

  2. Поле “От” - Адрес почты отправителя сообщения.

  3. Поле “Кому” - Список адресов получателей письма. В качестве разделителя используйте «;»
  4. Поле “Копия”  = Список адресов получателей копии письма. В качестве разделителя используйте «;»
  5. Поле “Тема” - Тема письма.
  6. Поле “Тело письма” - Тело письма
  7. Поле “Вложения” - Путь к файлу, который необходимо прикрепить. Если необходимо прикрепить несколько вложений, пути к файлам указываются через «;»

Настройки

...

Свойство

...

Англ. наименование

...

Описание

...

Тип

...

Список адресов получателей письма.

В качестве разделителя используйте ";"

...

Список адресов получателей копии письма.

В качестве разделителя используйте ";"

...

Путь к файлу, который необходимо прикрепить.

Если необходимо прикрепить несколько вложений, пути к файлам указываются через ";"

Путь к файлу

...

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

Отсутствуют.

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

Задача

Оправить сообщение, с темой письма "Test message" с телом письма “Hello world”. На почту testsforrobin@mail.ru.

К письму прикрепить вложение в виде .docx файла. 

Решение

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

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

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

Реализация

...

Description

Creates a message and sends it to the specified address

Action icon

Image Added

Settings of parameters

PropertyDescriptionTypeFilling exampleMandatory field
Parameters
ContextEmail connection context identifierRobin.EmailEmail contextYes
FromSender mail addressRobin.String
Yes
ToList of addresses of the recipients of the letter. Use «;» as a separatorRobin.String
Yes
CCList of addresses of recipients of a copy of the letter. Use «;» as a separatorRobin.String
No
SubjectSubjectRobin.String
No
Message bodyMessage bodyRobin.String
No
AttachmentsThe path to the file to be attached. If you need to attach several attachments, paths to files are indicated with «;»Robin.FilePath
No

Special conditions of use

None.

Example of use 

Task

Send a message with the subject line "Test message" with the body of the email "Hello world". To testsforrobin@mail.ru.

Attach an attachment in the form of a .docx file to the email. 

Solution

Connect the mailbox from which the email will be sent. For any actions with a particular mailbox, you should first connect to it, create its unique identifier (Context).

Define a mail service. (The parameters of connection to the mailbox depend on the mail service).

Send a message.

Implementation

  1. Assemble a robot scheme consisting of actions:
    Image Added

  2. Configure the settings for the "Open email" action. (see description of the action Open email (Net)). 
  3. Set the parameters for the "Send message" action.

    Setting the parameters for the action:

    "Context" parameter. It is necessary to select from the dropdown list the context corresponding to the mailbox from which the message will be sent.

    "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 email. 

    The "Message body" parameter. Specify a variable with personal data of the employee. (Full name, Phone number). 

    The "Attachments" parameter. Specify the path to the file.

    Parameters of the "Open email" action:

    Image Added

  4. "Send message" action parameters:
    Image Added

  5. Click on the "Start" button in the top panel. 

Result

The robot worked successfully:

Image Added

A message with personal data has been sent

...

Результат

Робот отработал успешно:

Image Removed

Сообщение с персональными данными отправлено.