maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brett Porter <brett.por...@gmail.com>
Subject Re: Having problem sending an email : [mail] Failed to initialise MIME mail
Date Tue, 03 Aug 2004 21:45:25 GMT
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
<gauthampamu@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


Mime
View raw message