PHPackages                             swarletta/swiftmailer - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Mail &amp; Notifications](/categories/mail)
4. /
5. swarletta/swiftmailer

ActiveLibrary[Mail &amp; Notifications](/categories/mail)

swarletta/swiftmailer
=====================

1.0(5y ago)010HTML

Since Feb 14Pushed 5y ago1 watchersCompare

[ Source](https://github.com/Alexandra-Malyshenko/My-Swift-Mailer)[ Packagist](https://packagist.org/packages/swarletta/swiftmailer)[ RSS](/packages/swarletta-swiftmailer/feed)WikiDiscussions master Synced yesterday

READMEChangelog (1)Dependencies (2)Versions (2)Used By (0)

My Swift Mailer
===============

[](#my-swift-mailer)

Send emails from your site. Based on swiftmailer/swiftmailer.

\##Install with Composer `composer require swarletta/swiftmailer`

\##Initialization First, you need to require a library that helps you work with .env files

Then create an instance of MailTransport. You will need that params:

For SMTP Server: smtp.gmail.com

– *SMTP user: *

– *SMTP password: password from your Gmail account*

– *SMTP port: 465*

– *TLS/SSL: needed.*

### Here is an example of Swiftmailer call

[](#here-is-an-example-of-swiftmailer-call)

```
