[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: SMTP and MS Exchange Server
The first thing you might want to check is to see if you can configure a
regular e-mail client such as MS Outlook, etc. to send an e-mail to the
Exchange Server by using the SMTP server's address and port 110 (the
standard SMTP port number) instead of the regular MS Outlook/Exchange
mailbox configuration which uses DCOM and MAPI. The exchange server may not
have been properly configured for accepting SMTP connections and only works
with MAPI clients such as Outlook. Talk to your server admin if this is the
case. Also, try using the e-mail server's actual IP address or host name
and not the server provider name that usually appears in the mail config box
for LAN connection if you're not already doing so. Lastly, if by
configuring the e-mail client to use the SMTP server method of sending an
e-mail instead of MAPI you had needed to check off the "My outgoing server
requires authentication" checkbox (at least on MS Outlook 2K this is what it
says), then you might want to try the server authentication method also.
HTH,
Pros
-----Original Message-----
From: Ashley Stewart [mailto:ashrstewart@yahoo.com]
Sent: Thursday, August 23, 2001 2:33 PM
To: ajug-members@www.ajug.org
Subject: SMTP and MS Exchange Server
Hello,
I am using javax.mail to send an email to a user on a
Microsoft Exchange Server. The SMTP address for the
user is the same as their email address. When I use
this as the host address, I get the following error:
java.net.UnknownHostException: [SMTP address here]
Do I need to authenticate with the server by using:
javax.mail.Transport.connect(host, user, password); ??
Thanks,
ashley
__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/