2

I have an application that I am working on and I want to use Amazon ses smtp to send email. I am using firebase as a backend. Firebase has a Triggger Email extension that I want to use. I have managed to do everything right but the Trigger Email extensions asks for smtp URI. I am getting smtp URL from amazon ses. How do I get a smtp URI instead of URL.

Edit - So URL and URI are same. So I should change my question.

Trigger email wants a URI in this format - smtps://username:password@smtp.hostname.com

I am getting this from amazon aws - email-smtp.us-east-2.amazonaws.com

So now my question is how to use amazon aws ses smtp with firebase trigger extension.

Frank van Puffelen
  • 418,229
  • 62
  • 649
  • 645
user3399180
  • 103
  • 1
  • 7

1 Answers1

3

I think this should be your URL: smtps://username:password@email-smtp.us-east-2.amazonaws.com

Ensure the whole string is URL encoded.

tyrion
  • 604
  • 1
  • 7
  • 23
  • 1
    And username is your smtp username and password is your smtp password. Don't use your amazon aws password or IAM username and password. And ass @tyrion saaid, encode your smtp password. Use this - ` let result = encodeURIComponent(); console.log(result) ` – user3399180 Feb 02 '21 at 04:47