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 !!