While implementing java mail,
1. Check if your desktop is communicating to your company mail
server.
(telnet to port 25/java socket program to listen to port 25/anyother
means)
2. Check the protocol's that your mail server is supporting.
3. In your program, register the protocol and server in a Properties
Object.
4. Write a sub class extending Authenticator and give your username
&
password details.
5. Use 3 & 4. And complete your mailing program.
Java Mail API is relatively easiest and less complicated.
Sree
Telmo S� wrote:
>
> 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