When using MS Exchange Server 5.5, I am having difficulty sending any email
outside my domain using Java Mail 1.1. I can send email to addresses in my
domain, but if I send emails to an outside internet address, I get a
"recipient not found" email sent back to me. The code is straightforward as
is taken directly from the example found in the Java Mail documentation.
Anyone else encounter this difficulty with sending mail on an Exchange
Server?
Many thanks,
Oliver
I am not using MS Exchange Server, but using my own ISP mail server as
the smtp server, I have no problem sending email from my java program
running on windows NT using java mail 1.1 to outside email addresses.
(different domains).
my configuration is :
activation.jar(1.0)
mail.jar (1.1.1)
JDK 1.2.1
SMTP server : my outside ISP mail server.
Ince in a while though, the program gets a transit error connecting to the
smtp server for no apparent reason.
I suggest you set debugging to true for your mail javax.mail.Session
instance to observe the protocol exchanged messages.
Nasser
Thanks for the information. I do set debug on and there are no protocol
error messages. I, like you, can send mail out via my ISP's SMTP server
using JavaMail. However, I simply cannot send to other domains using
JavaMail with MS Exchange Server.
Thanks for your help,
Oliver
nab...@pacbell.net.NOSPAM wrote in message <7k1f61$d...@drn.newsguy.com>...
I suspect you'll need to create a "custom recipient" address for each
non-Exchange address. I hate to tell anyone this, but you'll have to
read the docs.
doug