Discussion:
Attach Files with htmlMail
Ashish Sharma
2013-01-25 07:42:07 UTC
Permalink
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
after much try.

Please suggest if this can be done. Is there any attribute/property i can
use to attach a file with html mail.

Thanks,
Ashish
9910104869
Adam Bruss
2013-01-29 21:39:20 UTC
Permalink
One thing you can do as an alternative is put the files you were going to attach 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: ***@awrcorp.com<http://meqtestprfrm-dt:8080/cruisecontrol/buildresults/***@awrcorp.com>
W: http://www.awrcorp.com<http://www.awrcorp.com/>

From: Ashish Sharma [mailto:***@gmail.com]
Sent: Friday, January 25, 2013 1:42 AM
To: cruisecontrol-***@lists.sourceforge.net
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 after much try.

Please suggest if this can be done. Is there any attribute/property i can use to attach a file with html mail.

Thanks,
Ashish
9910104869

Loading...