Mail::setInputCharset
Set input character set
note
If the email body text is garbling, try to use this method or Mail::setSendCharset
Description
public self Mail::setInputCharset( string $charset )
Arguments
Name | Data type | Default | Remarks |
---|---|---|---|
$charset | string | Input character set |
Example
Controller
$mail = $this->getClass('Tool/Mail');
$mail->setInputCharset('utf-8');