This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
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
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Reply 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
code for sending mail to lotus notes.
Sending emails using Weblogic 7.0/8.0 server
Email Address Validation
Sending Mail from Ant
sending java mails