Hi Vivek,

You can achieve your requirement with ESB. The blog [1] explains the same
use case in detail.

[1]
http://uthaiyashankar.blogspot.com/2013/07/wso2-esb-usecases-reading-file-from.html

Regards,
Sashika

On Mon, Jul 31, 2017 at 6:34 PM, Malaka Silva <mal...@wso2.com> wrote:

> Hi Vivek,
>
> Not sure if this is currently supported. Looping integration team.
>
> ---------- Forwarded message ----------
> From: Vivek Kumar <vivku...@salmon.com>
> Date: Mon, Jul 31, 2017 at 5:28 PM
> Subject: Read and Send a file as Attachment.
> To: "mal...@wso2.com" <mal...@wso2.com>
>
>
> Hi Malak,
>
> We have requirement like we want to read a file from file location(
> *D://data/fileName.log*) and send it as an attachment in the mail.
>
>
>
> I have tried to achieve this using VFS file processing.
>
> I find file *fileName.log *in the attachment but it contains envelope of
> mediation flow not the actual content the file had.If have googled a lot
> and found nothing helpful.
>
> After analysing MailTransportSender.java , I am thinking like it is not
> supported yet in wso2.
>
> Please help me if there is any way I can achieve this WSO2ESB.
>
>
>
> *Vivek Kumar*
>
> *Associate System Analyst*
>
> *Office:      *+91-120-4737401 <+91%20120%20473%207401>
>
> *Mobile*:     +91 8588897434 <+91%2085888%2097434>
>
> *Email*:        vivku...@salmon.com <youraddr...@salmon.com>
>
> *Skype:*       vivekhereatskype
>
>
>
>
>
> Information contained in this e-mail and any attachments is confidential
> and intended for the use of the addressee only. Dissemination,
> distribution, copying or use of this communication without prior permission
> of the addressee is strictly prohibited. If you have received this
> transmission in error, please advise the originator by reply e-mail and
> delete it. Thank you. Salmon India’s Registered Address is: B-13, Sector
> 57, Noida (U.P.) 201301. Registered in India U72200DL2003PTC120356.
>
>
>
>
> Information contained in this e-mail and any attachments is confidential
> and intended for the use of the addressee only. Dissemination,
> distribution, copying or use of this communication without prior permission
> of the addressee is strictly prohibited. If you have received this
> transmission in error, please advise the originator by reply e-mail and
> delete it. Thank you. Salmon India’s Registered Address is: B-13, Sector
> 57, Noida (U.P.) 201301. Registered in India U72200DL2003PTC120356.
>
>
>
> --
>
> Best Regards,
>
> Malaka Silva
> Associate Director / Architect
> M: +94 777 219 791 <+94%2077%20721%209791>
> 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
>



-- 

*Sashika WijesingheSoftware Engineer - QA Team*
Mobile : +94 (0) 774537487
sash...@wso2.com
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to