openmediavault  4.0 (Arrakis)
The open network attached storage solution
Public Member Functions | List of all members
OMV\Email Class Reference

Public Member Functions

 __construct ($from, $to, $subject, $message)
 
 send ()
 
 assertSend ()
 

Constructor & Destructor Documentation

◆ __construct()

OMV\Email::__construct (   $from,
  $to,
  $subject,
  $message 
)

Constructor.

Parameters
fromThe sender email address.
toThe receiver email address(es), e.g. 'test@.nosp@m.xzy..nosp@m.com' or 'xzy@1.nosp@m.23.o.nosp@m.rg,test@.nosp@m.xzy..nosp@m.com'. Use the character , or ; as seperator. Additionally this can be an array of email adresses.
subjectThe subject.
messageThe message.

Member Function Documentation

◆ assertSend()

OMV\Email::assertSend ( )

Send the email.

Returns
None.
Exceptions

◆ send()

OMV\Email::send ( )

Send the email.

Returns
Return TRUE if successful, otherwise FALSE.

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