Quantcast
Channel: Active questions tagged symfony4 - Stack Overflow
Viewing all articles
Browse latest Browse all 3925

how to encode password with special character for swiftmailer .env

$
0
0

I'm using Swiftmail to send emails with gmail.I have configured the MAILER_URL in my .env. But my password has got a special character in it. I've read that you must encode your password when there is a special character but I don't know how.

# For Gmail as a transport, use: "gmail://username:password@localhost"
# For a generic SMTP server, use: "smtp://localhost:25?encryption=&auth_mode="
# Delivery is disabled by default via "null://localhost"
MAILER_URL=gmail://landabravo@gmail.com:landaB/24@localhost
###< symfony/swiftmailer-bundle ###```

Viewing all articles
Browse latest Browse all 3925

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>