Title: RE: [JBoss-user] Mail Service- to dim and stephen

I haven't used it, but the javax.mail.Session object
appears to support SMTP servers that require authentication.

http://java.sun.com/j2ee/sdk_1.3/techdocs/api/index.html

Check the docs for javax.mail.Session.setPasswordAuthentication()
method.

Outlook is a mail client.  It talks to a mail server to
send email.  Often the server is Microsoft Exchange.
Although Outlook doesn't typically use SMTP to talk to
Exchange, Exchange does (optionally) support SMTP.

Looks like I missed the beginning of this thread, so I'm
not really sure what the root problem is.

You can check your Outlook configuration to find the
name of your mail server.  Tools -> Services -> Services
tab, then select Exchange and click Properties.  That should
display the name of the machine running Exchange.  Then
see if you can connect to it from the command line with
telnet to port 25 (SMTP)

telnet <mailservername> 25

Then, at least you'll know if it accepts SMTP connections.

Good luck!
JD

-----Original Message-----
From: Gene Ge [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 08, 2002 10:49 AM
To: [EMAIL PROTECTED]
Subject: [JBoss-user] Mail Service- to dim and stephen


hi, dim and stephen:

Thanks:)

I'm so sorry for my poor knowledge about SMTP:)
but...:)
I'm still a little confused: how can some mail application(such like
outlook) make it, I mean, send to others outside the domain.
I had read one article about it and found that one can send
username&password to smtp server by some smtp command. If so, why cannot
mail service do it, or mail service is not for this purpose? Of course this
maybe my misunderstand:)
It's difficult for me to make my jboss server in a same domain of the smtp
server, so...
After all, my question is how can I send email from my EJB? That is what I
really wanted.

thank all:)
Gene

_________________________________________________________________
MSN Photos is the easiest way to share and print your photos:
http://photos.msn.com/support/worldwide.aspx



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to