SESEmailForward
SESEmailForward copied to clipboard
Use multiple from_address
In order for me to use multiple from_address (e.g. to forward to the same address), do I need to re-deploy the entire stack?
How can I duplicate the lamdba function that was created?
In order for me to use multiple
from_address(e.g. to forward to the same address), do I need to re-deploy the entire stack?How can I duplicate the
lamdbafunction that was created?
I added additional recipients to the SES rule. Then I changed line 13 in the lambda function so my email shows who was the intended initial address:
// var email = msgInfo.content, headers = "From: "+forwardFrom+"\r\n";
var email = msgInfo.content, headers = "From: "+msgInfo.mail.commonHeaders.to[0]+"\r\n";
this makes the from_address not used in this case.