Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

sendmail()

Status
Not open for further replies.

jangochi

Programmer
Nov 20, 2003
4
US
HI,

I use java sendmail() method for sending mails inside a process. But recently I find that the method is not giving any return code for the main program. What's happening is, if the number of emails going out is fewer lesser than 100, there is no issue. But if the number is more, after sending about 100 mails, it's getting stuck and stays there, does not come out. There is a catch section in the code. But control is not going there. If I kill the process & restart it, then again another 100 mail are send and get stuck again(it stays in the sendmail() loop).

Any clues? What should I mainly check? I am basically not a java guy. Thanks in advance.

Manu
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top