swiftmailer Config

2

I am setting swiftmailer in symfony , PHP 5.6.* , xampp

I have a problem when carrying out tests to send emails, my configuration for swiftmailer is as follows:

mailer_transport: smtp
mailer_host: ###.###.###.#
mailer_user: [email protected]
mailer_password: ---------
mailer_port:###
mailer_encryption:tls

Generate a test in Java and it works perfectly, I have no idea what is happening

String username = "[email protected]";
String password = "-----------";

Properties props = new Properties();
props.put("mail.smtp.starttls.enable", "true");
props.put("mail.smtp.host", "###.###.###.#"); 
props.put("mail.smtp.port", "###");

Is it necessary to make some configuration for xampp or symfony ?

Greetings !!

    
asked by Green - 4 27.06.2016 в 21:17
source

1 answer

0

Good morning.

Finally I have found the solution to my problem, I post the link to be of help to someone else.

link

The problem was that the plugin was verifying the connection by SSL, the link I provide refers to PHPMailer, since the same situation happens.

Here is the link to make the swiftmailer plugin work via TLS

link

Greetings !!

    
answered by 28.06.2016 / 20:38
source