ElPiter
ElPiter

Reputation: 4324

Swift mailer Symfony2 error

Using Symfony2, I don't get to configure correctly the mailer for sending e-mails.

My configuration is this:

mailer_transport="gmail"
mailer_host="gmail"
mailer_user="********"
mailer_password="*******"

The error I get is this:

Swift_TransportException: Failed to authenticate on SMTP server with username "pgbonino" using 1 possible authenticators

Any clue?

Sorry, I didn't say all of it. It works well with a normal Gmail account. It doesn't work with a Google Apps email account. Is there any difference to set in the configuration for this kind of account?

Thanks again

Upvotes: 0

Views: 2012

Answers (1)

weyandch
weyandch

Reputation: 644

i'm using this config currently for gmail

parameters.ini

  mailer_transport:  smtp
  mailer_host:       smtp.gmail.com:465
  mailer_user:       usenrame
  mailer_password:   ***

Upvotes: 1

Related Questions