Hi all
I'm trying to compose and send emails (Sling 12) using Apache Sling
Commons Messaging Mail Bundle.
Can someone help me define a complete setup ?
All web examples refer to the use of AEM (CQ Mail service) :-(
I've already:
1) installed bundle (org.apache.sling.commons.messaging.mail-1.0.0.jar)
2) solved bundle dependencies installing:
- javax.mail-1.6.2.jar
- org.apache.sling.commons.crypto-1.0.0.jar
- org.apache.sling.commons.messaging-1.0.0.jar
4) created and saved a "Simple mail service" configuration (configMgr)
3) created a component using documentation example
(https://github.com/apache/sling-org-apache-sling-commons-messaging-mail)
I don't see any log error ... but ...
@Reference
MailService mailService;
.... is always null ....
Thanks a lot.
Nicola.