Already registered? Log in
This guide provides a simple script to send out E-Mail using your SMTP2GO Account. You may refer the following pages for more options and details:
How to send an Email in Symfony.
Creating Messages in Symfony.
Please change the following variables in this guide:
Sender Name: the sender’s name.
sender@example.com: the sender’s email address.
Recipient Name: the recipient’s name.
recipient@example.com: the recipient’s email address.
USERNAME: your SMTP username.
PASSWORD: your SMTP password.
Enable the SwiftmailerBundle in your kernel:
Make changes to the Configuration file (config.yml) as below:
Add the following code in your application where it is required:
Try SMTP2GO free for as long as you like:
Try SMTP2GO Free → Paid plans available for over 1,000 emails/month.