Re: Attach Files with htmlMail
Adam Bruss <[email protected]> Tue, 29 Jan 2013 21:39:20 +0000
| Newsgroups | gmane.comp.java.cruise-control.user |
|---|---|
| Message-ID | <[email protected]> |
--===============8479564128753491015== Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_D81DB5ADDC5C3B4484C581AF3D8EFF9D21D78EA8ex2aawrlocal_" --_000_D81DB5ADDC5C3B4484C581AF3D8EFF9D21D78EA8ex2aawrlocal_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable One thing you can do as an alternative is put the files you were going to a= ttach in the artifacts location instead and then link to them in the emails= . Adam Bruss Senior Development Engineer AWR Corporation 11520 N. Port Washington Rd., Suite 201 Mequon, WI 53092 USA P: 1.262.240.0291 x104 F: 1.262.240.0294 E: [email protected]<http://meqtestprfrm-dt:8080/cruisecontrol/buildresult= s/[email protected]> W: http://www.awrcorp.com<http://www.awrcorp.com/> From: Ashish Sharma [mailto:[email protected]] Sent: Friday, January 25, 2013 1:42 AM To: [email protected] Subject: [Cruisecontrol-user] Attach Files with htmlMail Hi, I am trying to attach some files while sending mails using htmlMail plugin. I am using maven 2 to create build. There are some reports which i need to = attach with success mailer of build completion, but not able to attach afte= r much try. Please suggest if this can be done. Is there any attribute/property i can u= se to attach a file with html mail. Thanks, Ashish 9910104869 --_000_D81DB5ADDC5C3B4484C581AF3D8EFF9D21D78EA8ex2aawrlocal_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr= osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" = xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:= //www.w3.org/TR/REC-html40"> <head> <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"= > <meta name=3D"Generator" content=3D"Microsoft Word 14 (filtered medium)"> <style><!-- /* Font Definitions */ @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4;} @font-face {font-family:Tahoma; panose-1:2 11 6 4 3 5 4 4 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman","serif";} a:link, span.MsoHyperlink {mso-style-priority:99; color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {mso-style-priority:99; color:purple; text-decoration:underline;} span.EmailStyle17 {mso-style-type:personal-reply; font-family:"Calibri","sans-serif"; color:#1F497D;} .MsoChpDefault {mso-style-type:export-only; font-family:"Calibri","sans-serif";} @page WordSection1 {size:8.5in 11.0in; margin:1.0in 1.0in 1.0in 1.0in;} div.WordSection1 {page:WordSection1;} --></style><!--[if gte mso 9]><xml> <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" /> </xml><![endif]--><!--[if gte mso 9]><xml> <o:shapelayout v:ext=3D"edit"> <o:idmap v:ext=3D"edit" data=3D"1" /> </o:shapelayout></xml><![endif]--> </head> <body lang=3D"EN-US" link=3D"blue" vlink=3D"purple"> <div class=3D"WordSection1"> <p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:"Ca= libri","sans-serif";color:#1F497D">One thing you can do as a= n alternative is put the files you were going to attach in the artifacts lo= cation instead and then link to them in the emails. <o:p></o:p></span></p> <p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:"Ca= libri","sans-serif";color:#1F497D"><o:p> </o:p></span><= /p> <p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;font-family:"Ar= ial","sans-serif";color:#1F497D">Adam Bruss<o:p></o:p></span= ></p> <p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;font-family:"Ar= ial","sans-serif";color:#1F497D">Senior Development Engineer= </span><span style=3D"font-size:11.0pt;font-family:"Calibri",&quo= t;sans-serif";color:#1F497D"><o:p></o:p></span></p> <p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;font-family:"Ar= ial","sans-serif";color:#1F497D">AWR Corporation<o:p></o:p><= /span></p> <p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;font-family:"Ar= ial","sans-serif";color:#1F497D">11520 N. Port Washington Rd= ., Suite 201</span><span style=3D"font-size:11.0pt;font-family:"Calibr= i","sans-serif";color:#1F497D"><o:p></o:p></span></p> <p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;font-family:"Ar= ial","sans-serif";color:#1F497D">Mequon, WI 53092 = ; USA</span><span style=3D"font-size:11.0pt;font-family:"Calibri"= ,"sans-serif";color:#1F497D"><o:p></o:p></span></p> <p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;font-family:"Ar= ial","sans-serif";color:#1F497D">P: 1.262.240.0291 x104<o:p>= </o:p></span></p> <p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;font-family:"Ar= ial","sans-serif";color:#1F497D">F: 1.262.240.0294<o:p></o:p= ></span></p> <p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;font-family:"Ar= ial","sans-serif";color:#1F497D">E: <a href=3D"http://meqtestprfrm-dt:8080/cruisecontrol/buildresults/abruss@aw= rcorp.com"> <span style=3D"color:blue">[email protected]</span></a></span><span style= =3D"font-size:11.0pt;font-family:"Calibri","sans-serif"= ;color:#1F497D"><o:p></o:p></span></p> <p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;font-family:"Ar= ial","sans-serif";color:#1F497D">W: </span><span style=3D"font-size:11.0pt;font-family:"Calibri",&quo= t;sans-serif";color:#1F497D"><a href=3D"http://www.awrcorp.com/"><span= style=3D"font-size:10.0pt;font-family:"Arial","sans-serif&q= uot;;color:blue">http://www.awrcorp.com</span></a><o:p></o:p></span></p> <p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:"Ca= libri","sans-serif";color:#1F497D"><o:p> </o:p></span><= /p> <p class=3D"MsoNormal"><b><span style=3D"font-size:10.0pt;font-family:"= ;Tahoma","sans-serif"">From:</span></b><span style=3D"font-s= ize:10.0pt;font-family:"Tahoma","sans-serif""> Ashish S= harma [mailto:[email protected]] <br> <b>Sent:</b> Friday, January 25, 2013 1:42 AM<br> <b>To:</b> [email protected]<br> <b>Subject:</b> [Cruisecontrol-user] Attach Files with htmlMail<o:p></o:p><= /span></p> <p class=3D"MsoNormal"><o:p> </o:p></p> <div> <p class=3D"MsoNormal">Hi,<o:p></o:p></p> </div> <div> <p class=3D"MsoNormal"> <o:p></o:p></p> </div> <div> <p class=3D"MsoNormal">I am trying to attach some files while sending mails= using htmlMail plugin.<o:p></o:p></p> </div> <div> <p class=3D"MsoNormal">I am using maven 2 to create build. There are some r= eports which i need to attach with success mailer of build completion, but = not able to attach after much try.<o:p></o:p></p> </div> <div> <p class=3D"MsoNormal"> <o:p></o:p></p> </div> <div> <p class=3D"MsoNormal">Please suggest if this can be done. Is there any att= ribute/property i can use to attach a file with html mail.<o:p></o:p></p> </div> <div> <p class=3D"MsoNormal"> <o:p></o:p></p> </div> <div> <p class=3D"MsoNormal">Thanks,<o:p></o:p></p> </div> <div> <p class=3D"MsoNormal">Ashish<o:p></o:p></p> </div> <div> <p class=3D"MsoNormal">9910104869<o:p></o:p></p> </div> </div> </body> </html> --_000_D81DB5ADDC5C3B4484C581AF3D8EFF9D21D78EA8ex2aawrlocal_-- --===============8479564128753491015== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d --===============8479564128753491015== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Cruisecontrol-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user --===============8479564128753491015==--