emayili_custom_mail_handler: Emayili custom email sending handler

View source: R/mail_handlers.R

emayili_custom_mail_handlerR Documentation

Emayili custom email sending handler

Description

Default handler function parsing and sending email. Used within object of RegLogEmayiliConnector class internally. It can send custom emails using subject, body and attachments from RegLogConnectorMessage of type custom_mail.

Usage

emayili_custom_mail_handler(self, private, message)

Arguments

self

R6 object element

private

R6 object element

message

RegLogConnectorMessage which should contain within its data:

  • process

  • username

  • email

  • mail_subject

  • mail_body

  • mail_attachment (optional, needs to be of class mailMessageAttachment)

Value

RegLogEmayiliConnector message.

See Also

Other mail handler functions: emayili_reglog_mail_handler(), gmailr_custom_mail_handler(), gmailr_reglog_mail_handler()


shiny.reglog documentation built on Aug. 31, 2022, 1:06 a.m.