Hi all,
I am
testing the JavaMail codes writing in
JSP using
Tomcat 1.4.1 for local test, and Using Windows 2000 professional platform , and one of the tasks that I should do is to send emails and receive the emails(reading emails from MS Outlook), but the problem that exists is as the following :
it get the following exception :
javax.mail.MessagingException: Could not connect to SMTP host: localhost, port: 25;
nested exception is:
java.net.ConnectException: Connection refused: no further information
If my compnay has a mail server for intranet, do i have to install a mail server on my local machine?
Note: I am using JavaMail 1.2 for connecting, sending, and receiving the emails from the MS Outlook.
THANKS IN ADVANCE!!