Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » issues using <mail> ant task for pde build and test automation
issues using <mail> ant task for pde build and test automation [message #103643] Thu, 10 January 2008 02:25 Go to next message
Eclipse UserFriend
Originally posted by: aarati_k.yahoo.com

In my ant script I am using ant's mail task to send mail. I am getting 'Failed to initialise MIME mail: javax/mail/MessagingExceptio'.

No mail is getting sent.
I tried adding activation .jar and mail.jar files to ant plugin's lib folder. Though no change in the exception.

Does any one have hint what's missing over here?

My setup:
Eclipse 3.3
Re: issues using <mail> ant task for pde build and test automation [message #103662 is a reply to message #103643] Thu, 10 January 2008 12:26 Go to previous messageGo to next message
Karsten Panier is currently offline Karsten PanierFriend
Messages: 57
Registered: July 2009
Member
Did you list the activation and mail.jar in the manifest.mf of the ant
plug-in?

Aarati wrote:

> In my ant script I am using ant's mail task to send mail. I am getting
'Failed to initialise MIME mail: javax/mail/MessagingExceptio'.

> No mail is getting sent.
> I tried adding activation .jar and mail.jar files to ant plugin's lib
folder. Though no change in the exception.

> Does any one have hint what's missing over here?

> My setup:
> Eclipse 3.3
Re: issues using <mail> ant task for pde build and test automation [message #103676 is a reply to message #103643] Thu, 10 January 2008 18:17 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mark_melvin.amis.com

Do you have a firewall running? Most of them block Java from sending
outgoing mail and I seem to remember it being a generic message along
those lines.

Mark.

On Wed, 09 Jan 2008 21:25:17 -0500, Aarati <aarati_k@yahoo.com> wrote:

> In my ant script I am using ant's mail task to send mail. I am getting
> 'Failed to initialise MIME mail: javax/mail/MessagingExceptio'.
>
> No mail is getting sent.
> I tried adding activation .jar and mail.jar files to ant plugin's lib
> folder. Though no change in the exception.
>
> Does any one have hint what's missing over here?
>
> My setup:
> Eclipse 3.3
Re: issues using <mail> ant task for pde build and test automation [message #103690 is a reply to message #103676] Thu, 10 January 2008 20:35 Go to previous message
Eclipse UserFriend
Originally posted by: aarati_k.yahoo.com

Thanks for above all tips.

I had missed on the basic step of adding the jars to manifest file.

Things are working fine now.

_Aarati
Previous Topic:Bundle-classpath and Eclipse question
Next Topic:Unresolved imports in OSGi servlet
Goto Forum:
  


Current Time: Mon Nov 24 14:18:13 GMT 2014

Powered by FUDForum. Page generated in 0.04125 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software