I have problem to send email using gmail. When I tested form on my server mailer works ok but after moved website to another provider error ocured
INFO - Matched route "my_frontend_default_index" (parameters: "_controller": "My\FrontendBundle\Controller\DefaultController::indexAction", "_route": "my_frontend_default_index")
ERROR - Exception occurred while flushing email queue: Failed to authenticate on SMTP server with username "[email protected]" using 1 possible authenticators
my parameters.yml
parameters:
mailer_transport: gmail
mailer_encryption: ssl
mailer_auth_mode: login
mailer_host: smtp.gmail.com
mailer_user: '[email protected]'
my config.yml
swiftmailer:
transport: gmail
host: smtp.gmail.com
username: '[email protected]'
password: 'password'
Someone have idea where is the problem ?