Saravanan Thirugnanam

Greenhorn
+ Follow
since Jan 19, 2005
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Saravanan Thirugnanam

You said that your mail client running on the same machine does not have problems connecting to that machine?



yes, A mail client(Lotus Notes) is running in the same machine which is connected to that machine through which we send and receive our corporate mails. But i can not programmatically connect to that machine on port 25.
Do i need to do any configuration in mail server to accept connection from my machine or is there any problem in sending mails from a system which is behind the firewalls?
16 years ago


Can you telnet to that machine on that port



No, when i try to telnet to that machine on port 25 , it is not connected.But if i use ping utility to test connection with that machine it is giving reply.

My machine is connected to internet through proxy server.Is this a problem in sending mail?
16 years ago
Hi all,

I am trying to write a simple java program to send email using JavaMail API.
I have put mail.jar in my class path and used the following code for the same.



When i try to compile the above code , i get the following compilation error.




I can not understand why this error is coming.i manually tested the connectivity with our mail server using ping utility.But i am not sure why i am not able to connect to port 25(SMTP) . Can any body predict why this error is coming and suggest a solution?
16 years ago
Hi all,
I am trying to send mail to a small number of systems which were connected through the intranet.For this purpose i have searched google and came to know about JavaMail API for this purpose. But it requires a Mail server name , and from and to address of receipients etc .But i dont have Mail server and Email IDs created for receipients . I know only the computer names of the target machines(Which were connected through the LAN).Is it possible to send mails to the machines ? Can i use JavaMail API for this purpose . If so what Name should i give for the Mail server Name(Host name)?Advanced Thanks for ur suggestions.
16 years ago
Hi all,
I am trying to send mail to a small number of systems which were connected through the intranet.For this purpose i have searched google and came to know about JavaMail API for this purpose. But it requires a Mail server name , and from and to address of receipients etc .But i dont have Mail server and Email IDs created for receipients . I know only the computer names of the target machines(Which were connected through the LAN).Is it possible to send mails to the machines ? Can i use JavaMail API for this purpose . If so what Name should i give for the Mail server Name(Host name)?Advanced Thanks for ur suggestions.
16 years ago
Hi all,
I want to send and receive email across LAN,for this purpose i have downloaded JavaMail API from sun site.But i haven't worked on javamail api.It would be helpful if somebody can suggest some good tutorial available in the net or is there any better way of sending and receiving mail within LAN other than JavaMail API.
Thanks in advance..
16 years ago
I Don't see any problem with the above code.The code will compile perfectly..
Hi Barry,

with that post i actually meant to say that you cannot override the constructor for the base class in the child class.(see this code fragment)
Its No problem if u dont have a subclass for a abstract class. But if you extend from a abstract class, the subclass must either give the implementation for all the abstract methods of the parent class or else ,the subclass should also be declared as abstract.
Inform me if i misunderstood your question..

Originally posted by Akhil Trivedi:

What if I do write a method in the subclass with the same name as that of parent class?



You can not write a method with the same name as that of parent class. It will give a Compile time error.

A call to the halt method of the Thread class



I Don't think that there is a method called halt() in threads.

2) Another thread is given a higher priority


It is not true always.

The first option is the correct answer.
I haven't worked with JBoss server.But i heard that servlets can be executed without using web.xml in JBoss.Is it true? :roll:
16 years ago
I also joined this forum searching for a good java forum in google.Welcome
16 years ago
I am a java beginner.In all the books when i read about the history of java,i am surprised to see that java was originally designed to conrol the hardware and electronic devices.Is it true?Is java used to control electronic devices?if u have any idea please share.
16 years ago
try Philip heller's scjp 5.0 certification book. Its available in the market