aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes trying to use java.mail Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "trying to use java.mail" Watch "trying to use java.mail" New topic
Author

trying to use java.mail

Sim Raina
Ranch Hand

Joined: Nov 20, 2003
Posts: 33
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


if u can't impress people with ur intelligence , confuse them with ur bullshit
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
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).


Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
Sim Raina
Ranch Hand

Joined: Nov 20, 2003
Posts: 33
thanks bud
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: trying to use java.mail