Adobe-Consulting-Services / acs-aem-commons

http://adobe-consulting-services.github.io/acs-aem-commons/
Apache License 2.0
455 stars 603 forks source link

Customizing "from" email address using senderEmailAddress doesn't work #2703

Open hiralketanshah opened 3 years ago

hiralketanshah commented 3 years ago

Required Information

Expected Behavior

With the customize of the "from" email address, one should be able to see the custom sender's name and emailID in the mail instead of the one configured in the Day CQ Mail Service.

Actual Behavior

I'm trying to customize the "from" email address in the mail but am getting the SMTP user id which is configured in the Day CQ Mail Service inspite of me setting the below params. However, I'm able to get the sender name in the email. emailParams.put("senderName","ABC"); emailParams.put("senderEmailAddress", "abc@gmail.com");

Steps to Reproduce

While writing a custom email code, add the params for the sender's name and address and try to send out an email.

Links

Links to related assets, e.g. content packages containing test components

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.