File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 32
32
"ext-json" : " *" ,
33
33
"dotkernel/dot-event" : " ^4.0" ,
34
34
"laminas/laminas-servicemanager" : " ^3.22 || ^4.0" ,
35
- "symfony/mailer" : " v7.1.6"
35
+ "symfony/mailer" : " ^ v7.1.6"
36
36
},
37
37
"require-dev" : {
38
38
"laminas/laminas-coding-standard" : " ^3.0" ,
Original file line number Diff line number Diff line change 31
31
use function is_object ;
32
32
use function is_string ;
33
33
use function is_subclass_of ;
34
+ use function rawurlencode ;
34
35
use function sprintf ;
35
36
36
37
class MailServiceAbstractFactory extends AbstractMailFactory
@@ -179,7 +180,7 @@ protected function setupTransportConfig(TransportInterface $transport): Transpor
179
180
{
180
181
if ($ transport instanceof EsmtpTransport) {
181
182
$ user = $ this ->mailOptions ->getSmtpOptions ()->getConnectionConfig ()['username ' ];
182
- $ pass = $ this ->mailOptions ->getSmtpOptions ()->getConnectionConfig ()['password ' ];
183
+ $ pass = rawurlencode ( $ this ->mailOptions ->getSmtpOptions ()->getConnectionConfig ()['password ' ]) ;
183
184
$ tls = $ this ->mailOptions ->getSmtpOptions ()->getConnectionConfig ()['tls ' ] === false ? 'false ' : null ;
184
185
$ port = $ this ->mailOptions ->getSmtpOptions ()->getPort ();
185
186
$ host = $ this ->mailOptions ->getSmtpOptions ()->getHost ();
You can’t perform that action at this time.
0 commit comments