[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wsf-c-dev
Subject:    [Dev] Fwd: Read and Send a file as Attachment.
From:       Malaka Silva <malaka () wso2 ! com>
Date:       2017-07-31 13:16:57
Message-ID: CANy7KD1R2YpB74ajcbM_1OF9OKE=z_WuQMGmDJkOimDQ0RAp8w () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/related)]

[Attachment #4 (multipart/alternative)]


Hi Vivek,

Not sure if this is currently supported. Looping integration team.

---------- Forwarded message ----------
From: Vivek Kumar <vivkumar@salmon.com>
Date: Mon, Jul 31, 2017 at 5:28 PM
Subject: Read and Send a file as Attachment.
To: "malaka@wso2.com" <malaka@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*:        vivkumar@salmon.com <youraddress@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
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

[Attachment #7 (text/html)]

<div dir="ltr"><div class="gmail_default" \
style="font-family:verdana,sans-serif;font-size:small">Hi  Vivek,</div><div \
class="gmail_default" \
style="font-family:verdana,sans-serif;font-size:small"><br></div><div \
class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">Not sure \
if this is currently supported. Looping integration team.</div><div \
class="gmail_default" \
style="font-family:verdana,sans-serif;font-size:small"><br></div><div \
class="gmail_quote">---------- Forwarded message ----------<br>From: <b \
class="gmail_sendername">Vivek Kumar</b> <span dir="ltr">&lt;<a \
href="mailto:vivkumar@salmon.com">vivkumar@salmon.com</a>&gt;</span><br>Date: Mon, \
Jul 31, 2017 at 5:28 PM<br>Subject: Read and Send a file as Attachment.<br>To: \
&quot;<a href="mailto:malaka@wso2.com">malaka@wso2.com</a>&quot; &lt;<a \
href="mailto:malaka@wso2.com">malaka@wso2.com</a>&gt;<br><br><br>





<div lang="EN-US">
<div class="gmail-m_6350274641945732685WordSection1">
<p class="MsoNormal">Hi Malak,<u></u><u></u></p>
<p class="MsoNormal">We have requirement like we want to read a file from file \
location(<b>D://data/fileName.log</b><wbr>) and send it as an attachment in the \
mail.<u></u><u></u></p> <p class="MsoNormal"><u></u>  <u></u></p>
<p class="MsoNormal">I have tried to achieve this using VFS file \
processing.<u></u><u></u></p> <p class="MsoNormal">I find file <b>fileName.log </b>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.<u></u><u></u></p> <p \
class="MsoNormal">After analysing <cite><span \
style="font-family:Calibri,sans-serif">MailTransportSender.java \
</span></cite><cite><span style="font-family:Calibri,sans-serif;font-style:normal">, \
I am thinking like it is not supported yet in wso2.<u></u><u></u></span></cite></p> \
<p class="MsoNormal"><cite><span \
style="font-family:Calibri,sans-serif;font-style:normal">Please help me if there is \
any way I can achieve this WSO2ESB.</span></cite><u></u><u></u></p> <p \
class="MsoNormal"><u></u>  <u></u></p> <p class="MsoNormal"><b><span \
style="font-size:14pt;font-family:Arial,sans-serif;color:rgb(99,40,130)">Vivek \
Kumar<u></u><u></u></span></b></p> <p class="MsoNormal"><b><span \
style="font-family:Arial,sans-serif;color:rgb(99,40,130)">Associate System \
Analyst<u></u><u></u></span></b></p> <p class="MsoNormal"><b><span \
style="font-family:Arial,sans-serif;color:rgb(99,40,130)"><u></u><u></u></span></b></p>
 <p class="MsoNormal"><b><span \
style="font-size:8pt;font-family:Arial,sans-serif;color:rgb(95,95,95)">Office:        \
 </span></b><span style="font-size:8pt;font-family:Arial,sans-serif;color:rgb(76,76,76)"><a \
href="tel:+91%20120%20473%207401" value="+911204737401" \
target="_blank">+91-120-4737401</a></span><span \
style="font-size:8pt;font-family:Arial,sans-serif;color:rgb(95,95,95)"><u></u><u></u></span></p>
 <p class="MsoNormal"><b><span \
style="font-size:8pt;font-family:Arial,sans-serif;color:rgb(95,95,95)">Mobile</span></b><span \
style="font-size:8pt;font-family:Arial,sans-serif;color:rgb(95,95,95)">:         <a \
href="tel:+91%2085888%2097434" value="+918588897434" target="_blank">+91 \
8588897434</a><u></u><u></u></span></p> <p class="MsoNormal"><b><span \
style="font-size:8pt;font-family:Arial,sans-serif;color:rgb(95,95,95)">Email</span></b><span \
style="font-size:8pt;font-family:Arial,sans-serif;color:rgb(95,95,95)">:              \
 </span><a href="mailto:youraddress@salmon.com" target="_blank"><span \
style="font-size:8pt;font-family:Arial,sans-serif;color:blue">vivkumar@salmon.com</span></a><span \
style="font-size:8pt;font-family:Arial,sans-serif;color:rgb(95,95,95)"><u></u><u></u></span></p>
 <p class="MsoNormal"><b><span \
style="font-size:8pt;font-family:Arial,sans-serif;color:rgb(95,95,95)">Skype:</span></b><span \
style="font-size:8pt;font-family:Arial,sans-serif;color:rgb(95,95,95)">             \
vivekhereatskype</span><span \
style="font-family:Arial,sans-serif;color:rgb(31,73,125)"><br> </span><span \
style="font-family:Arial,sans-serif;color:rgb(112,48,160)"><br> </span><img \
border="0" width="198" height="65" id="gmail-m_6350274641945732685Picture_x0020_1" \
src="cid:image001.jpg@01D30A1F.3C6F56F0"><span \
style="font-size:8pt;font-family:Arial,sans-serif;color:rgb(95,95,95)"><u></u><u></u></span></p>
 <p class="MsoNormal"><b><span \
style="font-family:Arial,sans-serif;color:rgb(112,48,160)"><u></u><u></u></span></b></p>
 <p class="MsoNormal"><img border="0" width="25" height="25" \
id="gmail-m_6350274641945732685Picture_x0020_2" \
src="cid:image002.png@01D30A1F.3C6F56F0"><b><span \
style="font-family:Arial,sans-serif;color:rgb(112,48,160)">  </span></b><img \
border="0" width="25" height="25" id="gmail-m_6350274641945732685Picture_x0020_3" \
src="cid:image003.png@01D30A1F.3C6F56F0"><b><span \
style="font-family:Arial,sans-serif;color:rgb(31,73,125)">  </span></b><img \
border="0" width="25" height="25" id="gmail-m_6350274641945732685Picture_x0020_4" \
src="cid:image004.png@01D30A1F.3C6F56F0"><b><span \
style="font-family:Arial,sans-serif;color:rgb(112,48,160)">  </span></b><img \
border="0" width="25" height="25" id="gmail-m_6350274641945732685Picture_x0020_5" \
src="cid:image005.png@01D30A1F.3C6F56F0"><b><span \
style="font-family:Arial,sans-serif;color:rgb(112,48,160)">  </span></b><img \
border="0" width="25" height="25" id="gmail-m_6350274641945732685Picture_x0020_6" \
src="cid:image006.png@01D30A1F.3C6F56F0"><b><span \
style="font-family:Arial,sans-serif;color:rgb(112,48,160)">  </span></b><img \
border="0" width="25" height="25" id="gmail-m_6350274641945732685Picture_x0020_7" \
src="cid:image007.png@01D30A1F.3C6F56F0"><b><span \
style="font-family:Arial,sans-serif;color:rgb(112,48,160)">  </span></b><img \
border="0" width="25" height="25" id="gmail-m_6350274641945732685Picture_x0020_8" \
src="cid:image008.png@01D30A1F.3C6F56F0"><span style="color:rgb(31,73,125)">  \
</span><b><span style="font-family:Arial,sans-serif;color:rgb(112,48,160)"><u></u><u></u></span></b></p>
 <p class="MsoNormal"><span style="font-size:8pt">  </span><span \
style="font-size:8pt"><u></u><u></u></span></p> <p class="MsoNormal"><span \
style="font-size:8pt">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.<u></u><u></u></span></p> <p class="MsoNormal"><span lang="EN" \
style="font-family:Arial,sans-serif;color:rgb(112,48,160)"><u></u>  \
<u></u></span></p> <p class="MsoNormal"><u></u>  <u></u></p>
</div>
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. </div>

</div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div \
dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div \
dir="ltr"><div><br></div><font color="#666666">Best Regards,</font><div><font \
color="#666666"><br>Malaka Silva<br></font></div><div><span \
style="color:rgb(136,136,136);font-size:12.8px">Associate Director / \
Architect</span><font color="#666666"><br>M: +94 777 219 791</font></div><div><span \
style="color:rgb(102,102,102)">Tel : 94 11 214 5345</span><br></div><div><div><font \
color="#666666">Fax :94 11  2145300  </font></div><div><font color="#666666">Skype : \
malaka.sampath.silva</font></div><font color="#666666">LinkedIn :  <a \
href="http://www.linkedin.com/pub/malaka-silva/6/33/77" \
target="_blank">http://www.linkedin.com/pub/malaka-silva/6/33/77</a></font></div><div><span \
style="color:rgb(102,102,102)">Blog :</span>  <a \
href="http://mrmalakasilva.blogspot.com/" \
target="_blank">http://mrmalakasilva.blogspot.com/</a><font \
color="#666666"><br></font></div><div><br></div><div><font color="#666666">WSO2, Inc. \
</font></div><div><font color="#666666">lean . enterprise . middleware  <br></font><a \
href="https://wso2.com/signature" style="color:rgb(17,85,204);font-size:12.8px" \
target="_blank">https://wso2.com/signature</a><font \
color="#666666"><br></font></div><div><a \
href="http://wso2.com/about/team/malaka-silva/" \
target="_blank">http://www.wso2.com/about/team/malaka-silva/</a><br></div><div><a \
href="https://store.wso2.com/store/" \
target="_blank">https://store.wso2.com/store/</a></div><div><img \
src="http://c.content.wso2.com/signatures/wso2-signature-general.png"><br></div><div><span \
style="font-family:Tahoma,sans-serif;color:rgb(0,176,80);font-size:8pt">Don&#39;t \
make Trees rare, we should keep them with \
care</span></div></div></div></div></div></div></div></div></div> </div>

--94eb2c06f49a86a81005559cad5d--


["image001.jpg" (image/jpeg)]
["image006.png" (image/png)]
["image002.png" (image/png)]
["image007.png" (image/png)]
["image008.png" (image/png)]
["image003.png" (image/png)]
["image005.png" (image/png)]
["image004.png" (image/png)]

_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic