platform icon indicating copy to clipboard operation
platform copied to clipboard

feat : Added support for different email service provider.

Open ganeshawle25 opened this issue 8 months ago • 1 comments

What

  • Added support for different email provider like Amazon SES, SMTP(for gmail) and refactored existing SendGrid functionality.

Why

  • As per client's requirement provide email support for Amazon SES and SMTP providers.

How

  • Added 'email.service.ts' class, which contains common 'sendEmail' as entry function and according to EMAIL_PROVIDER property it will call respective functionalities.
  • Added new 'sendWithSES' and 'sendWithSMTP functions for each email provider.
  • Refactored existing sendWithSendGrid function.

ganeshawle25 avatar Jun 03 '24 11:06 ganeshawle25