Re: [Architecture] Are we missing a common EmailSenderService

2014-01-23 Thread Chan
+1 for having having EmailSendingService. Mobile Publisher also has a requirement of sending an email message to a reviewer when a new application has arrived to be reviewed. Cheers~ On Thu, Jan 23, 2014 at 2:36 PM, Dimuthu Leelarathne wrote: > > Hi Suho, > > On Tue, Jan 21, 2014 at 5:51 PM, Sr

Re: [Architecture] Are we missing a common EmailSenderService

2014-01-23 Thread Dimuthu Leelarathne
Hi Suho, On Tue, Jan 21, 2014 at 5:51 PM, Sriskandarajah Suhothayan wrote: > I think with this effort we can also remove the axis2 SMTP transport > bindings. > Can we refactor out the this code from CEP and put it into a common component - something similar to email sender? I really like the "S

Re: [Architecture] Are we missing a common EmailSenderService

2014-01-21 Thread Sriskandarajah Suhothayan
I believe the easy approach is to get the code from CEP Email Output Adaptor and Email-verification code and create a simple E-mail sender service. This service can then be used by both CEP Email Output Adaptor and Email-verification. In this process please keep in mind the performance aspects an

Re: [Architecture] Are we missing a common EmailSenderService

2014-01-21 Thread Sriskandarajah Suhothayan
I think with this effort we can also remove the axis2 SMTP transport bindings. Suho On Tue, Jan 21, 2014 at 5:48 PM, Sriskandarajah Suhothayan wrote: > I believe the easy approach is to get the code from CEP Email Output > Adaptor and Email-verification code and create a simple E-mail sender >

Re: [Architecture] Are we missing a common EmailSenderService

2014-01-21 Thread Gayan Dhanushka
+1 for having a common email sender. I have seen in one support issue related to IS whether we can send emails when registering tenants, adding users to tenants etc. This scenario is valid for the whole products stack. Gayan Dhanuska Software Engineer http://wso2.com/ Lean Enterprise Middleware M

Re: [Architecture] Are we missing a common EmailSenderService

2014-01-21 Thread Sriskandarajah Suhothayan
In that case we have to fix that. Suho On Tue, Jan 21, 2014 at 3:15 PM, Harsha Thirimanna wrote: > Yes, I just mentioned about the code implementation is available in that > module. It is not published as a common service. :). > > > *Harsha Thirimanna* > Senior Software Engineer; WSO2, Inc.;

Re: [Architecture] Are we missing a common EmailSenderService

2014-01-21 Thread Sriskandarajah Suhothayan
Actually in CEP we have a common mechanism to send notifications using EventFormatter and OutputEventAdaptor. With this we can send any type of Notification. You can simply install this features and integrate with them to send Email/SMS May be you can use these components and implement an easy to

Re: [Architecture] Are we missing a common EmailSenderService

2014-01-21 Thread Harsha Thirimanna
Yes, I just mentioned about the code implementation is available in that module. It is not published as a common service. :). *Harsha Thirimanna* Senior Software Engineer; WSO2, Inc.; http://wso2.com * * * email: **hars...@wso2.com* * cell: +94 71 5186770* * twitter: **ht

Re: [Architecture] Are we missing a common EmailSenderService

2014-01-21 Thread Ashansa Perera
Yes Harsha, there is an email verification service ( for confirming user) , but not a common service to send emails. But still we do have the methods for building the configuration, etc. If you look at the given reference in my initial mail, you will see that we have used those to complete the serv

Re: [Architecture] Are we missing a common EmailSenderService

2014-01-21 Thread Harsha Thirimanna
+1 for this, Just go through the "email-verification" component. Implementation and config load for the email are there already. *Harsha Thirimanna* Senior Software Engineer; WSO2, Inc.; http://wso2.com * * * email: **hars...@wso2.com* * cell: +94 71 5186770* * twitter: *

Re: [Architecture] Are we missing a common EmailSenderService

2014-01-20 Thread Pushpalanka Jayawardhana
Hi, +1. I also recently had a look at this component to find possibilities to send HTML formatted emails. If we can have a separate email sending service it would be better if we add this support as well. This was easily achievable with Apache Commons Email

Re: [Architecture] Are we missing a common EmailSenderService

2014-01-20 Thread Srinath Perera
+1 On Tue, Jan 21, 2014 at 1:07 PM, Ashansa Perera wrote: > Do we have a *service* which can be used to send the emails? > I found an email sender component under components/stratos. But still it > is specific to stratos. > Wouldn't it be useful to have a common email sending service where you

[Architecture] Are we missing a common EmailSenderService

2014-01-20 Thread Ashansa Perera
Do we have a *service* which can be used to send the emails? I found an email sender component under components/stratos. But still it is specific to stratos. Wouldn't it be useful to have a common email sending service where you can give the configuration file as a parameter? We in AppFactory want