I want to send custom email to users, when I create their account using AdminCreateUser
and ForgotPasswordCommand
. I am trying to do that using lambda trigger, but I have no knowledge of how to invoke it. I am using NestJS
framework for api.
Things I have tried so far
- create a lambda trigger with
Cognito Sync Trigger
starter, and in cognito messaging tab linked the lambda trigger - create a normal lambda trigger and added send email code in there, which will send an email with my custom email id as sender
Both of these are not working. I would like to send custom email with the default email address provided by cognito
Thanks in advance