Skip to main content

Mail::setSendCharset

Set email character set

note

If the email body text is garbling, try to use this method or Mail::setInputCharset

Description

public self Mail::setSendCharset( string $charset )

Arguments

NameData typeDefaultRemarks
$charsetstringEmail character set

Example

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