Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow specifying the SMTP FROM command / bounce address in EmailService #1637

Closed
3 tasks done
justinedelson opened this issue Dec 20, 2018 · 0 comments
Closed
3 tasks done

Comments

@justinedelson
Copy link
Contributor

Required Information

  • AEM Version, including Service Packs, Cumulative Fix Packs, etc: any
  • ACS AEM Commons Version: any
  • Reproducible on Latest? yes

Three years ago, I wrote some bad information on a forum post at https://forums.adobe.com/thread/2332589. In response to a question about how to specify the SMTP FROM address (which is a theoretically distinct concept from the From address header in the email), I said that this wasn't possible in AEM. I was wrong. In my defense, the way that this is explained in the Apache Commons Email documentation is confusing (at least to me). Commons Email refers to this as the "bounce address". See https://commons.apache.org/proper/commons-email/userguide.html#Handling_Bounced_Messages.

It's totally possible to specify this on a org.apache.commons.mail.Email object via the setBounceAddress() method. We just don't support setting this via the EmailService service. Let's fix that.

Expected Behavior

Should be possible to specify the bounce address.

Actual Behavior

Can't do it :(

justinedelson added a commit to justinedelson/acs-aem-commons that referenced this issue Dec 20, 2018
justinedelson added a commit to justinedelson/acs-aem-commons that referenced this issue Dec 20, 2018
davidjgonzalez pushed a commit that referenced this issue Dec 20, 2018
* #1637 - add support for bounce address setting in Email Service
justinedelson added a commit that referenced this issue Feb 6, 2019
* #1637 - add support for bounce address setting in Email Service
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant