I've been working on the Symfony 2 emails sending using Swiftmailer.
Here is my swiftmailer configuration in app/config/config.yml
swiftmailer:
transport: gmail
username: [email protected]
host: smtp.gmail.com
password: mypassword
I have also configured my xampp localhost to send emails.
I have a form where user enters email addresses (max 5 emails) , Subject and Message. For first few tests on submitting the form the emails where sent. I also actually got emails. But after that i've been getting this error below repeatedly.
Failed to authenticate on SMTP server with username "[email protected]" using 1 possible authenticators 500 Internal Server Error - Swift_TransportException
What is the problem over here? I also tried stopping my xampp and then re-starting it, but still the problem persists. Does any one know whats the problem here?
Thank You.