Hi Varuni,

Ideally this should work by setting the from address. However I think first
you need to enable sending mails from that email, from your gmail account
first.

[1]
https://docs.wso2.com/display/ESBCONNECTORS/Working+with+Messages+in+Gmail#WorkingwithMessagesinGmail-sendMail

On Tue, Apr 25, 2017 at 6:05 PM, Varuni Alwis <var...@wso2.com> wrote:

> Hi all,
>
> I want to send mails from a different mail account , not with the mail
> account I have given the configurations in the <gmail.init> block . Is
> there a way I can accomplish that?
>
> Can’t I set a different mail address within <from> tags in the
> <gmail.sendMail> ?
>
> Thanks
>
>
> *Varuni Alwis*
> *Software Engineer - Intern*
> *WSO2*
>
> Email : var...@wso2.com
> Mobile : +94 719865395 <071%20986%205395>
>
>
>
>
> _______________________________________________
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 

Best Regards,

Malaka Silva
Associate Director / Architect
M: +94 777 219 791
Tel : 94 11 214 5345
Fax :94 11 2145300
Skype : malaka.sampath.silva
LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
Blog : http://mrmalakasilva.blogspot.com/

WSO2, Inc.
lean . enterprise . middleware
https://wso2.com/signature
http://www.wso2.com/about/team/malaka-silva/
<http://wso2.com/about/team/malaka-silva/>
https://store.wso2.com/store/

Don't make Trees rare, we should keep them with care
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to