Top "Swiftmailer" questions

Swift Mailer is a library that integrates into any web app written in PHP, offering a flexible and elegant object-oriented approach to sending emails with a multitude of features.

Failed to authenticate on SMTP server error using gmail

I'm trying to set up email for my first laravel project, and was thrilled that there's a laracast for it: …

email laravel swiftmailer
Expected response code 220 but got code "", with message "" in Laravel

I am using Laravel Mail function to send email. The following is my app/config/mail.php file settings. 'driver' =&…

php email laravel swiftmailer
Swift_TransportException Connection could not be established with host smtp.gmail.com

I can't figure for the life of me why exactly is it failing.. this is the exact error I am …

php email-attachments swiftmailer
Address in mailbox given [] does not comply with RFC 2822, 3.6.2. when email is in a variable

I have a correct email address. I have echoed it, but when I send it, I get the following error: …

php email laravel laravel-4 swiftmailer
PHP Swift mailer: Failed to authenticate on SMTP using 2 possible authenticators

When I send an email with the PHP Swift mailer to this server: smtp.exchange.example.com like this: // Load …

php authentication smtp swiftmailer
Using gmail smtp via Laravel: Connection could not be established with host smtp.gmail.com [Connection timed out #110]

When I try to use GMail SMTP for sending email via Laravel, I encounter the following error: Swift_TransportException Connection …

laravel-4 smtp swiftmailer
Using php's swiftmailer with gmail

I'm writing a simple script in which a gmail account is used to send an email to itself. I altered …

php gmail swiftmailer
Swiftmailer: Connection could not be established with host smtp.gmail.com [Connection timed out #110]

I'm posting because I've already gone through the solutions posted in other questions on here but they haven't helped. What …

php email symfony swiftmailer
Adding line breaks to a text/plain email

I'm having a problem sending a plain text (not HTML!) email, all my line breaks are being ignored: ->…

php email swiftmailer plaintext
How to use the swiftMailer in Yii2

I can't finally understand how to use the swiftMailer extension in Yii2. Judging by that on this subject I didn't …

php yii swiftmailer yii2