Piwik\
Class for sending mails, for more information see: http://framework.zend.com/manual/en/zend.mail.html
The class defines the following methods:
__construct()
— Constructor.setDefaultFromPiwik()
setWrappedHtmlBody()
setFrom()
— Sets the sender.setReplyTo()
— Set Reply-To Headersend()
createAttachment()
setSubject()
getMailHost()
sanitiseString()
— Replaces characters known to appear incorrectly in some email clients__construct()
Constructor.
$charset
(string
) —
charset, defaults to utf-8setDefaultFromPiwik()
setWrappedHtmlBody()
It accepts the following parameter(s):
$body
(View
|string
) —It does not return anything or a mixed result.
DI\NotFoundException
setFrom()
Sets the sender.
$email
(string
) —
Email address of the sender.$name
(null
|string
) —
Name of the sender.Zend_Mail
value.setReplyTo()
Set Reply-To Header
It accepts the following parameter(s):
$email
(string
) —
$name
(null
|string
) —
It returns a Zend_Mail
value.
send()
It accepts the following parameter(s):
$transport
It does not return anything or a mixed result.
createAttachment()
It accepts the following parameter(s):
$body
$mimeType
$disposition
$encoding
$filename
It does not return anything or a mixed result.
setSubject()
It accepts the following parameter(s):
$subject
It does not return anything or a mixed result.
getMailHost()
sanitiseString()
Replaces characters known to appear incorrectly in some email clients
It accepts the following parameter(s):
$string
It returns a mixed
value.