File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Ant, Maven and Other Build Tools and the fly likes Failing to send an email externally Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "Failing to send an email externally" Watch "Failing to send an email externally" New topic
Author

Failing to send an email externally

alzamabar
Ranch Hand

Joined: Jul 24, 2002
Posts: 379
Hi all, I'm using James as mail server and it works fine both as POP3 and SMTP server, meaning that I'm using it with the most commons mail clients.
I'm trying to send an email directly from Ant with the mail target but I receive the following error:
-- BEGIN --
mail:
[mail] Failed to initialise MIME mail
[mail] Sending email: [ANN] A new version of Jamailet is available for downlaod
[mail] Failed to send email
BUILD SUCCESSFUL
Total time: 3 seconds
-- END --
The strange thing is that if I specify myself as to.recipient the email is delivered without no problems.
Any idea?


Marco Tedone<br />SCJP1.4,SCJP5,SCBCD,SCWCD
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Failing to send an email externally
 
Similar Threads
Sending emails using Weblogic 7.0/8.0 server
Email Address Validation
code for sending mail to lotus notes.
sending java mails
Sending Mail from Ant