I have a java jar file that got automatically kicked off at scheduled times. Each time the program finishes it job it sends out emails to a group of people on the mailing list. It has been working well until last week when I stop getting the mails. The strange thing is everybody else is still getting the mails except for me.
I changed to a new PC and thus new Outlook Express last week. But I don't think that's the reason because I still got mails in the first a couple of days and I've checked no mails get to my account on the mail server.
I wrote a small class file in the same package to test sending a mail to myself and I got the following error:
javax.mail.MessagingException: Could not connect to SMTP host: <our mail server>, port 25;
I think port 25 is blocked by some firewall of our LAN because I tried telnet to the mail server using port 25 on several machines and failed.
There's no where in my code specifying port number and the program has been working fine and still is for everybody else.
What's going on?