Skip to contents

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

Usage

gmailr_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

RegLogGmailrConnector message.