Hi.
Firstly I want to say everything is work in localhost, but when I send all files to VPS (FreeBSD 9) I get error inside prod.log file
File config.yml with configuration swiftmailer:
swiftmailer:
File parameters.yml with configuration swiftmailer:
parameters:
If you know what is broken please answer me
Thank you in advance for your help.
Firstly I want to say everything is work in localhost, but when I send all files to VPS (FreeBSD 9) I get error inside prod.log file
Code:
[2016-12-20 23:02:42] app.ERROR: Exception occurred while flushing email queue: Connection could not be established with host [URL='http://l.facebook.com/l.php?u=http%3A%2F%2Fsmtp.gmail.com%2F&h=1AQFd9qjdAQHbuJFNFwYFMZvrkJQTHCtCZjshsSObMYNwpA&enc=AZP1YjbLiU1IPsrxG5EvSa9p_XP-MvAzBicKA8N-hZLRud64wZVOSVCXsgm4o-t9rxr1TcsxHJCn2OlHclO2XVzmc76Ji0e2GAzbQmZwazJra12UJbVbAIn6hp__RnFjcSBzRJGSSyvh9T3XWhfY-MjsyWFgh3bS0DKGy8qZkiUJmQ&s=1']smtp.gmail.com[/URL] [ #0] [] []
swiftmailer:
Code:
transport: %mailer_transport%
username: %mailer_user%
password: %mailer_password%
spool: { type: memory }
parameters:
Code:
database_host: 127.0.0.1
database_port: null
database_name: X
database_user: X
database_password: X
mailer_transport: gmail
mailer_user: XXXX@gmail.com
mailer_password: XXXXX
Thank you in advance for your help.