/var/www/vhosts/nabawater/vendor/swiftmailer/swiftmailer/doc
NameSizeModeActions
uml/-0755rm
headers.rst222110644editdlrm
help-resources.rst16860644editdlrm
including-the-files.rst15830644editdlrm
index.rst2060644editdlrm
installing.rst26030644editdlrm
introduction.rst56070644editdlrm
japanese.rst6760644editdlrm
messages.rst422490644editdlrm
overview.rst90040644editdlrm
plugins.rst140970644editdlrm
sending.rst203430644editdlrm
Edit: /var/www/vhosts/nabawater/vendor/swiftmailer/swiftmailer/doc/japanese.rst (676B)
Using Swift Mailer for Japanese Emails ====================================== To send emails in Japanese, you need to tweak the default configuration. After requiring the Swift Mailer autoloader (by including the ``swift_required.php`` file), call the ``Swift::init()`` method with the following code:: require_once '/path/to/swift-mailer/lib/swift_required.php'; Swift::init(function () { Swift_DependencyContainer::getInstance() ->register('mime.qpheaderencoder') ->asAliasOf('mime.base64headerencoder'); Swift_Preferences::getInstance()->setCharset('iso-2022-jp'); }); /* rest of code goes here */ That's all!