ePages 6.11.0 - DE_EPAGES/MailType/API/TextMail.pm

Package DE_EPAGES::MailType::API::TextMail

Sends non-html e-mails containing any number of attachments.

@EXPORT_OK
SendTextMail

Functions

SendTextMail
_sendTBOErrorMail

SendTextMail

This function e-mails a file.

Syntax
SendTextMail(\%Options)
Input
$Option (ref.array.hash)
options keys:
  • from - sender (e-mail address) - string
  • to - list of addressees, separated by [,;] - String
  • cc - list of addressees, separated by [,;] - String
  • bcc - list of addressees, separated by [,;] - String
  • subject - e-mail subject - String
  • content - e-mail body - String
  • attachments - attachment files
    • filename - path to file or file name - string
    • mime_type - MIME type (default: Application/Octet-stream) - string
    • data - document to attach (optional) - binary
    • encoding - document's encoding (optional, default: base64) - string

_sendTBOErrorMail

This function e-mails a file.

Syntax
_sendTBOErrorMail(\%Options)
Input
$Option (hash)
options keys:
  • store - use the e-mail connection as defined in store (default: Site)
  • from - sender (e-mail address) (default: TBO Reply Address)
  • to - list of addressees, separated by [,;] (default: TBO Error Address)
  • subject - e-mail subject
  • file - file to send
  • descr - additional description
  • attachment - file is sent as attachment (default: Application/Octet-stream)