Hi,

Yap, there are few way. one is you can used carbon modules

Here is sample code for you.

<%
var carbon = require('carbon');
var conf1 = carbon.server.loadConfig('axis2/axis2.xml');
print(conf1.*::['clustering'].*::['members']);
%>

Thanks


On Wed, Apr 30, 2014 at 10:32 AM, Chamila Wijayarathna <[email protected]>wrote:

> Hi all,
> I am using email jaggery module for sending email notification in
> Enterprise Store. I have added following code at
> /publisher/apis/v1/lifecycle_api_router.jag file.
>
> *var email = require('email');*
> *var sender = new email.Sender("smtp.gmail.com <http://smtp.gmail.com>",
> "587", "wso2demomail", "mailpassword", "tls");*
>
> Can I get the email sender properties for here from
> repository/conf/axis2/axis2.xml without hardcoding these values here?
>
> Thank You!
>
> --
> *Chamila Wijayarathna*
> Engineering Intern,
> WSO2 Inc.
>
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
*Madhuka* Udantha
Senior Software Engineer
Development Technologies
WSO2 Inc. : http://wso2.com

*Mobile*: +94774066336
*Blog*: http://madhukaudantha.blogspot.com/
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to