question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

URL Encode SMTP user & passowrd

See original GitHub issue

[READ] Step 1: Are you in the right place?

Issues filed here should be about bugs for a specific extension in this repository. If you have a general question, need help debugging, or fall into some other category use one of these other channels:

  • For general technical questions, post a question on StackOverflow with the firebase tag.
  • For general Firebase discussion, use the firebase-talk google group.
  • To file a bug against the Firebase Extensions platform, or for an issue affecting multiple extensions, please reach out to Firebase support directly.

[REQUIRED] Step 2: Describe your configuration

  • Extension name: firestore-send-email
  • Extension version: 0.1.10

[REQUIRED] Step 3: Describe the problem

Steps to reproduce:

Consider the following SMTPS URI: smtps://XXX:XXX/X+XXX@email-smtp.eu-west-1.amazonaws.com:465.

If passed into nodemailer / firestore-send-email configuration will result in following error when attempting to send email: getaddrinfo ENOTFOUND XXX.

To resolve an issue the password and username have to be URL encoded, which is not mentioned anywhere in the configuration description.

Expected result

There is a not-to URL encode the password and username.

Actual result

There is no such note, which results in confusing error message.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
jhuleattcommented, Jul 13, 2021

We should be able to update the extension itself to use encodeURI so that someone installing the extension doesn’t need to figure out encoding

1reaction
dackers86commented, Jul 13, 2021

Thanks @alfredsgenkins.

I have updated this for consideration.

Read more comments on GitHub >

github_iconTop Results From Across the Web

how to encode password with special character for swiftmailer ...
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...
Read more >
url-open, SMTP - IBM
URL -encode one character in the keyword: AUTH , LOGIN , or PLAIN . ... password: The password for the account to authenticate...
Read more >
SMTP security regarding sending username and password
As I understand, in this protocol one sends base64 encoded strings of username and password to the mail server.
Read more >
Obtaining Amazon SES SMTP credentials - AWS Documentation
You need an Amazon SES SMTP user name and password to access the Amazon SES SMTP interface. The credentials that you use to...
Read more >
Special Characters in Usernames and Passwords
If your remote server requires authentication, you can include username and password in the input url string. Usernames and passwords should ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found