I'm replacing a class that used to send email over SMTP, now it will do it over another API.
The interface I'm coding to sends in an Apache Commons Email class with the email prepared.
I can't figure out how to either:
- Override the functionality of Apache Commons email to use my own transport mechanism instead of SMTP
- Or extract the HTML or Text based email from the
org.apache.commons.mail.Email
base class