Hi all,

For App Factory notification framework, we need to send emails as one of
the notification mechanisms.
There we use EmailSender in [1]. For AF notifications, we do not need to
send a secret key for EmailSender.
This is how we invoke EmailSender from AF.
EmailSender sender = new EmailSender(emailConfig, mailReceiverAddress, "",
tenantDomain ,userParams);

When we are getting the email from the server, the content has a part like
below:
?confirmation=

Shouldn't the EmailSender be generic to handle the scenario that, it is
getting invoked without a secretKey?


[1].
https://github.com/wso2/carbon-commons/blob/master/components/email-verification/org.wso2.carbon.email.verification/src/main/java/org/wso2/carbon/email/verification/util/EmailSender.java

Thanks
Manisha
-- 
~Regards
*Manisha Eleperuma*
Senior Software Engineer
WSO2, Inc.: http://wso2.com
lean.enterprise.middleware

*blog:      http://manisha-eleperuma.blogspot.com/
<http://manisha-eleperuma.blogspot.com/>*
*mobile:  +94 71 8279777*
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to