I have a fairly trivial 'mail' task in my Ant script that is giving me this output:
[mail] Failed to initialise MIME mail: javax/mail/MessagingException

[mail] Sending email: Update ZoneEdit Password

[mail] Sent email with 0 attachments

Even though the email was sent and received without difficulty, I am concerned about the first line of output and would like to make this go away if it's not going to be a major pain.

The only parameters I am using are 'mailhost', 'from address', 'replyto address', 'cc address', and 'message' and all of them appear to have valid values since the email is sent and received fine.

What can I do to make that error message go away?

By the way, I've copied this 'mail' task from an older script but according to the article on 'mail' in the Ant 1.6.5 manual, the correct parameters to use are 'from', 'replyto', and 'cclist' _NOT_ 'from address', 'replyto address', 'cc address'. Why are my parameters working even though they are wrong? And why do I get an error when I try to use the parameters in the manual? Strangely, the examples used for the 'mail' task also use 'from address', and 'replyto address', making the article inconsistent with itself! What's the story here?

I am using Ant 1.6.5 in Windows XP Pro (SP2 applied).

---
Rhino



--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.371 / Virus Database: 267.14.14/222 - Release Date: 05/01/2006


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to