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 and make it
general as possible so it can be used by all.

Regards
Suho


On Tue, Jan 21, 2014 at 5:28 PM, Gayan Dhanushka <[email protected]> wrote:

> +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
>
> Mobile
> 071 666 2327
>
> Office
> Tel   : 94 11 214 5345
>  Fax  : 94 11 214 5300
>
> Twitter : https://twitter.com/gayanlggd
>
>
> On Tue, Jan 21, 2014 at 3:37 PM, Sriskandarajah Suhothayan 
> <[email protected]>wrote:
>
>> In that case we have to fix that.
>>
>> Suho
>>
>>
>> On Tue, Jan 21, 2014 at 3:15 PM, Harsha Thirimanna <[email protected]>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.; http://wso2.com
>>> * <http://www.apache.org/>*
>>> * email: **[email protected]* <[email protected]>* cell: +94 71 5186770*
>>> * twitter: **http://twitter.com/ <http://twitter.com/afkham_azeez>*
>>> *harshathirimann linked-in: **http:
>>> <http://lk.linkedin.com/in/afkhamazeez>**//www.linkedin.com/pub/harsha-thirimanna/10/ab8/122
>>> <http://www.linkedin.com/pub/harsha-thirimanna/10/ab8/122>*
>>>
>>>  *Lean . Enterprise . Middleware*
>>>
>>>
>>>
>>> On Tue, Jan 21, 2014 at 2:55 PM, Ashansa Perera <[email protected]>wrote:
>>>
>>>> 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 service call.
>>>>
>>>>
>>>> On Tue, Jan 21, 2014 at 1:32 PM, Harsha Thirimanna <[email protected]>wrote:
>>>>
>>>>> +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
>>>>> * <http://www.apache.org/>*
>>>>> * email: **[email protected]* <[email protected]>* cell: +94 71 5186770*
>>>>> * twitter: **http://twitter.com/ <http://twitter.com/afkham_azeez>*
>>>>> *harshathirimann linked-in: **http:
>>>>> <http://lk.linkedin.com/in/afkhamazeez>**//www.linkedin.com/pub/harsha-thirimanna/10/ab8/122
>>>>> <http://www.linkedin.com/pub/harsha-thirimanna/10/ab8/122>*
>>>>>
>>>>>  *Lean . Enterprise . Middleware*
>>>>>
>>>>>
>>>>>
>>>>> On Tue, Jan 21, 2014 at 1:26 PM, Pushpalanka Jayawardhana <
>>>>> [email protected]> wrote:
>>>>>
>>>>>> 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<http://commons.apache.org/proper/commons-email/userguide.html>library,
>>>>>>  keeping the freedom to send alternate plain/text as well.
>>>>>>
>>>>>> Thanks,
>>>>>>
>>>>>> Pushpalanka Jayawardhana
>>>>>>
>>>>>> Software Engineer
>>>>>>
>>>>>> WSO2 Lanka (pvt) Ltd
>>>>>> [image: 
>>>>>> Facebook]<http://s.wisestamp.com/links?url=http%3A%2F%2Fwww.facebook.com%2Fpushpalanka>
>>>>>>  [image:
>>>>>> Twitter]<http://s.wisestamp.com/links?url=http%3A%2F%2Ftwitter.com%2FPushpalanka>
>>>>>>  [image:
>>>>>> LinkedIn]<http://s.wisestamp.com/links?url=http%3A%2F%2Fwww.linkedin.com%2Fprofile%2Fview%3Fid%3D75175642%26trk%3Dtab_pro>
>>>>>>  [image:
>>>>>> Blogger]<http://s.wisestamp.com/links?url=http%3A%2F%2Fpushpalankajaya.blogspot.com%2F>
>>>>>>  [image:
>>>>>> SlideShare]<http://s.wisestamp.com/links?url=http%3A%2F%2Fwww.slideshare.net%2FPushpalanka>
>>>>>> Mobile: +94779716248
>>>>>> <http://s.wisestamp.com/links?url=http%3A%2F%2Fr1.wisestamp.com%2Fr%2Flanding%3Fu%3Dc984892c0c4ca423%26v%3D3.13.2%26t%3D1361257731639%26promo%3D10%26dest%3Dhttp%253A%252F%252Fwww.wisestamp.com%252Femail-install%253Futm_source%253Dextension%2526utm_medium%253Demail%2526utm_campaign%253Dpromo_10>
>>>>>>
>>>>>>
>>>>>> On Tue, Jan 21, 2014 at 1:07 PM, Ashansa Perera <[email protected]>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 can give the configuration file as a parameter?
>>>>>>>
>>>>>>> We in AppFactory wanted a similar service and we have created a
>>>>>>> one[1]
>>>>>>> But as I feel a common email sending service would be useful
>>>>>>> platform wide.
>>>>>>> WDYT?
>>>>>>>
>>>>>>> [1]
>>>>>>> https://svn.wso2.org/repos/wso2/scratch/appfactorycc/components/appfac/org.wso2.carbon.appfactory.utilities/1.1.0/src/main/java/org/wso2/carbon/appfactory/utilities/services/EmailSenderService.java
>>>>>>> --
>>>>>>> Thanks & Regards,
>>>>>>>
>>>>>>> Ashansa Perera
>>>>>>> Software Engineer
>>>>>>> WSO2, Inc
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> Architecture mailing list
>>>>>>> [email protected]
>>>>>>> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>>
>>>>>> Pushpalanka Jayawardhana
>>>>>>
>>>>>> Software Engineer
>>>>>>
>>>>>> WSO2 Lanka (pvt) Ltd
>>>>>> [image: 
>>>>>> Facebook]<http://s.wisestamp.com/links?url=http%3A%2F%2Fwww.facebook.com%2Fpushpalanka>
>>>>>>  [image:
>>>>>> Twitter]<http://s.wisestamp.com/links?url=http%3A%2F%2Ftwitter.com%2FPushpalanka>
>>>>>>  [image:
>>>>>> LinkedIn]<http://s.wisestamp.com/links?url=http%3A%2F%2Fwww.linkedin.com%2Fprofile%2Fview%3Fid%3D75175642%26trk%3Dtab_pro>
>>>>>>  [image:
>>>>>> Blogger]<http://s.wisestamp.com/links?url=http%3A%2F%2Fpushpalankajaya.blogspot.com%2F>
>>>>>>  [image:
>>>>>> SlideShare]<http://s.wisestamp.com/links?url=http%3A%2F%2Fwww.slideshare.net%2FPushpalanka>
>>>>>> Mobile: +94779716248
>>>>>> http://c.content.wso2.com/signatures/us.png
>>>>>>
>>>>>> _______________________________________________
>>>>>> Architecture mailing list
>>>>>> [email protected]
>>>>>> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>>>>>>
>>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Architecture mailing list
>>>>> [email protected]
>>>>> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Thanks & Regards,
>>>>
>>>> Ashansa Perera
>>>> Software Engineer
>>>> WSO2, Inc
>>>>
>>>> _______________________________________________
>>>> Architecture mailing list
>>>> [email protected]
>>>> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>>>>
>>>>
>>>
>>> _______________________________________________
>>> Architecture mailing list
>>> [email protected]
>>> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>>>
>>>
>>
>>
>> --
>>
>> *S. Suhothayan *
>> Associate Technical Lead,
>>  *WSO2 Inc. *http://wso2.com
>> * <http://wso2.com/>*
>> lean . enterprise . middleware
>>
>>
>> *cell: (+94) 779 756 757 <%28%2B94%29%20779%20756%20757> | blog:
>> http://suhothayan.blogspot.com/ <http://suhothayan.blogspot.com/> twitter:
>> http://twitter.com/suhothayan <http://twitter.com/suhothayan> | linked-in:
>> http://lk.linkedin.com/in/suhothayan <http://lk.linkedin.com/in/suhothayan>*
>>
>>
>> _______________________________________________
>> Architecture mailing list
>> [email protected]
>> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>>
>>
>
> _______________________________________________
> Architecture mailing list
> [email protected]
> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>
>


-- 

*S. Suhothayan*
Associate Technical Lead,
 *WSO2 Inc. *http://wso2.com
* <http://wso2.com/>*
lean . enterprise . middleware


*cell: (+94) 779 756 757 | blog: http://suhothayan.blogspot.com/
<http://suhothayan.blogspot.com/>twitter: http://twitter.com/suhothayan
<http://twitter.com/suhothayan> | linked-in:
http://lk.linkedin.com/in/suhothayan <http://lk.linkedin.com/in/suhothayan>*
_______________________________________________
Architecture mailing list
[email protected]
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture

Reply via email to