Hi Telmo,
I've tried connecting to MSExchange using IMAP thru Java Mail, althru I
didn't try from servlets. But it should work fine. But if you want to send
mails using SMTP, then we're in trouble. The MSExchange SMTP server doesn't
allow anonymous login for sending mails. And Yes, that is something we have
to overcome. JavaMail doesn't support SMTP authentication, as far as I
know.
So, I wrote a custom package to do this, using java.net utilities.
Basically, you have to telnet to port 25, then send in a AUTH command with
the login name and password, and then send in your mails.
Your inability to connect to port 25 might be stemming from the fact that
the IMAP server and SMTP servers are usually different. Ask your sys admin
for the i.p address of the SMTP server.
Regards,
Subrahmanyam KNVSK
Infosys Technologies Ltd,
Electronics City,
Banglore
-----Original Message-----
From: Telmo S� [mailto:[EMAIL PROTECTED]]
Sent: 05 January, 2000 5:53 PM
To: [EMAIL PROTECTED]
Subject: Java Mail
Hello!
I am trying to connect to MSExchange server from a servlet using Java Mail
API.
Has anyone successfuly did this or something close?
I realy could use some hints on it.
Every time i try to connect i get an error.
I cant even connect using telnet to port 25.
Thank you!
Telmo
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html