Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to use Javamail to autosend emails

 
Vinay Karve
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1365
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic