The Hubzilla
 All Classes Namespaces Files Functions Variables Pages
Zotlabs\Lib\Enotify Class Reference

File with functions and a class for generating system and email notifications. More...

Static Public Member Functions

static submit ($params)
 
static send ($params)
 Send a multipart/alternative message with Text and HTML versions. More...
 
static format ($item)
 

Detailed Description

File with functions and a class for generating system and email notifications.

Member Function Documentation

static Zotlabs\Lib\Enotify::format (   $item)
static
static Zotlabs\Lib\Enotify::send (   $params)
static

Send a multipart/alternative message with Text and HTML versions.

Parameters
array$paramsan assoziative array with:
  • string fromName name of the sender
  • string fromEmail email of the sender
  • string replyTo replyTo address to direct responses
  • string toEmail destination email address
  • string messageSubject subject of the message
  • string htmlVersion html version of the message
  • string textVersion text only version of the message
  • string additionalMailHeader additions to the smtp mail header
static Zotlabs\Lib\Enotify::submit (   $params)
static
Parameters
array$paramsan assoziative array with:
  • string from_xchan sender xchan hash
  • string to_xchan recipient xchan hash
  • array item an assoziative array
  • int type one of the NOTIFY_* constants from boot.php
  • string link
  • string parent_mid
  • string otype
  • string verb
  • string activity

Referenced by mail_store(), Zotlabs\Module\Item\post(), send_status_notifications(), tag_deliver(), and zot_refresh().


The documentation for this class was generated from the following file: