Skip to main content

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

NameData typeDefaultRemarks
$charsetstringInput character set

Example

Controller
$mail = $this->getClass('Tool/Mail');
$mail->setInputCharset('utf-8');