You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Gautham Pamu <ga...@hotmail.com> on 2004/08/03 18:01:09 UTC
Having problem sending an email : [mail] Failed to initialise MIME mail
Hi Everyone,
I am trying to send an email of the junit report. I followed the instruction
in mavenwiki documenation but it is failing with below error. I knew that
Mail task depends on mail.jar but not sure where I should place this jar. I
added the jar to MAVEN_HOME/lib directory but it did not work. Do I need to
add this jar to the project dependencies.. ? Any help is appreciated.
>mail.jar Mail task with Mime encoding, and the MimeMail task
maven-junit-report-plugin:report:
test:mail-report:
[echo] sending mail
[style] Processing
C:\Projects\20040716.1\test\target\TESTS-TestSuites.x
ml to C:\Projects\20040716.1\test\target\junit-report-mail.html
[style] Loading stylesheet
C:\Projects\20040716.1\test\overview-summary.xsl
[mail] Failed to initialise MIME mail
[mail] Sending email: [BUILD] JUnit Test Results for app: August 3 2004
[mail] Failed to send email
BUILD FAILED
File...... C:\Projects\20040716.1\test\maven.xml
Element... ant:mail
Line...... 17
Column.... 122
IO error sending mail
Total time: 15 seconds
Finished at: Tue Aug 03 10:46:12 CDT 2004
C:\Projects\20040716.1\test>
Thanks
Gautham Pamu
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Having problem sending an email : [mail] Failed to initialise MIME mail
Posted by Brett Porter <br...@gmail.com>.
failed to initialise mime mail is normal in my experience.
The IO error is probably because your SMTP server is not correct.
Javamail needs to be a dependency, but not in MAVEN_HOME/lib
Cheers,
Brett
On Tue, 03 Aug 2004 16:01:09 +0000, Gautham Pamu
<ga...@hotmail.com> wrote:
> Hi Everyone,
>
> I am trying to send an email of the junit report. I followed the instruction
> in mavenwiki documenation but it is failing with below error. I knew that
> Mail task depends on mail.jar but not sure where I should place this jar. I
> added the jar to MAVEN_HOME/lib directory but it did not work. Do I need to
> add this jar to the project dependencies.. ? Any help is appreciated.
>
> >mail.jar Mail task with Mime encoding, and the MimeMail task
>
> maven-junit-report-plugin:report:
> test:mail-report:
> [echo] sending mail
>
> [style] Processing
> C:\Projects\20040716.1\test\target\TESTS-TestSuites.x
> ml to C:\Projects\20040716.1\test\target\junit-report-mail.html
> [style] Loading stylesheet
> C:\Projects\20040716.1\test\overview-summary.xsl
> [mail] Failed to initialise MIME mail
> [mail] Sending email: [BUILD] JUnit Test Results for app: August 3 2004
> [mail] Failed to send email
>
> BUILD FAILED
> File...... C:\Projects\20040716.1\test\maven.xml
> Element... ant:mail
> Line...... 17
> Column.... 122
> IO error sending mail
> Total time: 15 seconds
> Finished at: Tue Aug 03 10:46:12 CDT 2004
>
> C:\Projects\20040716.1\test>
>
> Thanks
> Gautham Pamu
>
> _________________________________________________________________
> Express yourself instantly with MSN Messenger! Download today - it's FREE!
> http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org