What you may try to do is ping the smtp server first. This will tell you if
you can "see" it from your server.  Next, using your msgsend.class applet
try :
        java msgsend -M mailhost.your_mail_host.att.net and see if it works. You
should not need a password if your smtp host is configured correctly. If
push comes to shove, ask your administrator if you can run the msgsend.class
on the mail server. If it works there you know its not recognizing your
server. By the way if you have a dial-up connection with some ISP and know
the smtp mailhost the command mentioned above will work fine... I do it all
the time.

Tom Kochanowicz


-----Original Message-----
From: A mailing list for discussion about Sun Microsystem's Java Servlet
API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of Telmo
S�
Sent: Wednesday, January 05, 2000 11:22 AM
To: [EMAIL PROTECTED]
Subject: Re: Java Mail


Hi!
About MSExhange.
I have talked to my sys admin and e verified that we have SMTP and X400
installed.
We have MSExchage4.0. (Can it be because of this??)
I dont know what to do anymore.
Is there anything in MSExchange that prevents users to telnet port 25?
I am trying this:
        java msgsend -L smtp://me:[EMAIL PROTECTED]
I still cant connect.
What can i do?

        Telmo

> -----Original Message-----
> From: Craig R. McClanahan [SMTP:[EMAIL PROTECTED]]
> Sent: Wednesday, January 05, 2000 3:47 PM
> To:   [EMAIL PROTECTED]
> Subject:      Re: Java Mail
>
> Telmo S� wrote:
>
> > 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
> >
>
> I have a production application that sends hundreds of messages per day --
> subscribed-to reports -- this way (via MS Exchange).
>
> Sounds like SMTP support is not enabled in your MS Exchange configuration.
> Have your mail admin check that out.  If you cannot telnet to port 25
> yourself, there's no way that Java will be able to either :-).
>
> Craig
>
> __________________________________________________________________________
> _
> 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

___________________________________________________________________________
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

Reply via email to