Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

trying to use java.mail

 
Sim Raina
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hey everybody
just a quick question
is there any other way to use mail in java instead of doing it by java.mail.
actually the problem is that i am on windows 98 operating system and i am working on a program that connect to a sql database to query out the data and if connection errors occurs it should send a mail to the email address describing what kind of problem is it.
so i need some how to send a mail but since i am using windows 98 , i can't use the enterprise edition so i jus wanna know if there is any other way to send mail.
thank you in advance.
ciao
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
First of all, how is Windows 98 related to not being able to use J2EE?
Second, why can't you use JavaMail with J2SE?
Third, if you really can't use JavaMail with J2SE, the Jakarta Commons Net project provides an implementation of the SMTP protocol. In addition, writing an SMTP client is not too difficult (the protocol is very simple).
 
Sim Raina
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks bud
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic