The basic framework of YII2 is used. It itself integrates the mail send plugin swiftmailer, send the message is very convenient, but when the message sent with the Chinese name of the attachment, there is a problem, the message with the attachment
: This article mainly introduces a php email Library-swiftmailer. if you are interested in the PHP Tutorial, refer to it. Recently, I saw a good php mail library, which works the same as phpmailer, but has better performance than phpmailer.
Recently saw a good PHP mail library, like Phpmailer role, but performance than Phpmailer, especially in the ability to handle attachments, send mail success is also high. Here is a description of the usage:
1require_once("lib/swift_required.php");
Laravel basic tutorial-email overview
Laravel builds a clean and concise mail API based on the popular SwiftMailer class library. Laravel provides drivers to support SMTP, Mandrill, SparkPost, Amazon SES, and PHP mail and sendmail methods. This
Yii2 sends email, yii2 sends email
Official documents: http://www.yiiframework.com/doc-2.0/guide-tutorial-mailing.html
When using the Yii2 framework, sometimes you need to send an email. Yiii2 provides the swiftMailer extension;
1. swiftMailer
Swift
[Laravel5.2 documentation] service-email
1. Introduction
Laravel provides a clean and refreshing mail API based on the SwiftMailer Library. Laravel provides the mail functions for SMTP, Mailgun, Mandrill, Amazon SES, PHP, and sendmail, allowing you
1. IntroductionLaravel based on the Swiftmailer library provides a clean, refreshing messaging API. Laravel provides drivers for SMTP, Mailgun, Sparkpost, Amazon SES, PHP mail functions, and sendmail, allowing you to quickly send mail through local
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.