File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

How to use Javamail to autosend emails

Vinay Karve

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,
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 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.
I agree. Here's the link:
subject: How to use Javamail to autosend emails
It's not a secret anymore!