File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java in General and the fly likes How to use Javamail to autosend emails Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "How to use Javamail to autosend emails" Watch "How to use Javamail to autosend emails" New topic
Author

How to use Javamail to autosend emails

Vinay Karve
Greenhorn

Joined: Oct 03, 2001
Posts: 3
Dear friends,
I'm developing an e-com portal.My application requires that i have to send an automated email to the customer and the retailer who delivers the goods,containing the order details.
Presently i don't have any mail server.I have only IIS 4.0.
The content of the email is also dynamic.Is there any provision through which i can directly email a web page?Please help me out with a solution to this problem.
Thanks in advance for helping me out.
With Regards,
Vinay.
David Weitzman
Ranch Hand

Joined: Jul 27, 2001
Posts: 1365
If you want to learn about JavaMail, try the "Other Java APIs" forum. As to sending mail without having a mail server, I an point you to another thread. In http://www.javaranch.com/ubb/Forum8/HTML/000487.html I give the code I use to determine SMTP servers from host names. dnsjava.jar shouldn't be hard to find. Hope you find it useful.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How to use Javamail to autosend emails