GPGMailer::sendHTML
Encrypting HTML emails does not work so this method triggers a warning and sends using sendPlain() and plaintext version of the HTML content.
Signature
public function sendHTML(string
$to,
string
$from,
string
$subject,
$htmlContent,
[boolean
$attachedFiles = false,
[boolean
$customheaders = false,
[boolean
$plainContent = false]]] )
Parameters
$to
—
string
- To address RFC 2822 format
$from
—
string
- From address RFC 2822 format
$subject
—
string
- Subject line for email
$htmlContent
—
$attachedFiles
—
boolean
- Indicate whether files are attached
$customheaders
—
boolean
- Custom email headers
$plainContent
—
boolean
- Content for email
Returns
- mixed
- Array if successful or false if unsuccessful