RE: _Not_ Port 25. Configuring Tomcat for sendmail

2003-06-13 Thread Shapira, Yoav

Howdy,
Does specifying a mail.smtp.port work?

Yoav Shapira
Millennium ChemInformatics


-Original Message-
From: Kyle Lange [mailto:[EMAIL PROTECTED]
Sent: Friday, June 13, 2003 8:50 AM
To: [EMAIL PROTECTED]
Subject: _Not_ Port 25. Configuring Tomcat for sendmail

Hi,

If this has come through 2ce now, please forgive. The 1st one I sent
came
back
with the signup response.


I'm hoping someone can help me out here pls.

Using Tomcat 4.1.24, I'm trying to sendmail from a .jsp app. However my
sendmail is configured to listen on a different port to 25.

Is there any way, without having to rewrite code, to configure
server.xml to contact sendmail on a port different to 25?

I would've thought I could add the port nr. to the end of the host
decl. in
my
mail.smtp.host resource-param, but it doesn't appear to like that.

If I've missed a piece of documentation, please just point it out.

MTiA

K



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: _Not_ Port 25. Configuring Tomcat for sendmail

2003-06-13 Thread Kyle Lange
Works like a charm.

Thank you Yoav. 

Is that documented somewhere and I just plain missed it?

K

-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED] 
Sent: Friday, June 13, 2003 3:01 PM
To: Tomcat Users List
Subject: RE: _Not_ Port 25. Configuring Tomcat for sendmail 



Howdy,
Does specifying a mail.smtp.port work?

Yoav Shapira
Millennium ChemInformatics


-Original Message-
From: Kyle Lange [mailto:[EMAIL PROTECTED]
Sent: Friday, June 13, 2003 8:50 AM
To: [EMAIL PROTECTED]
Subject: _Not_ Port 25. Configuring Tomcat for sendmail

Hi,

If this has come through 2ce now, please forgive. The 1st one I sent
came
back
with the signup response.


I'm hoping someone can help me out here pls.

Using Tomcat 4.1.24, I'm trying to sendmail from a .jsp app. However my 
sendmail is configured to listen on a different port to 25.

Is there any way, without having to rewrite code, to configure 
server.xml to contact sendmail on a port different to 25?

I would've thought I could add the port nr. to the end of the host
decl. in
my
mail.smtp.host resource-param, but it doesn't appear to like that.

If I've missed a piece of documentation, please just point it out.

MTiA

K



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential, proprietary
and/or privileged.  This e-mail is intended only for the individual(s) to whom
it is addressed, and may not be saved, copied, printed, disclosed or used by
anyone else.  If you are not the(an) intended recipient, please immediately
delete this e-mail from your computer system and notify the sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: _Not_ Port 25. Configuring Tomcat for sendmail

2003-06-13 Thread Shapira, Yoav

Howdy,
I'm probably opening a can of worms here...

- It's not super clearly documented, but
- If you know your JNDI, and
- You look at this code:
http://cvs.apache.org/viewcvs/jakarta-tomcat-4.0/catalina/src/share/org/
apache/naming/factory/MailSessionFactory.java?rev=1.2content-type=text/
vnd.viewcvs-markup
- And you look at this JavaDoc:
http://java.sun.com/products/javamail/1.3/docs/javadocs/com/sun/mail/smt
p/package-summary.html

It's pretty sad that I had the contents of the above two URLs in my head
already without consulting them ;(

Yoav Shapira
Millennium ChemInformatics


-Original Message-
From: Kyle Lange [mailto:[EMAIL PROTECTED]
Sent: Friday, June 13, 2003 9:05 AM
To: 'Tomcat Users List'
Subject: RE: _Not_ Port 25. Configuring Tomcat for sendmail

Works like a charm.

Thank you Yoav.

Is that documented somewhere and I just plain missed it?

K

-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Friday, June 13, 2003 3:01 PM
To: Tomcat Users List
Subject: RE: _Not_ Port 25. Configuring Tomcat for sendmail



Howdy,
Does specifying a mail.smtp.port work?

Yoav Shapira
Millennium ChemInformatics


-Original Message-
From: Kyle Lange [mailto:[EMAIL PROTECTED]
Sent: Friday, June 13, 2003 8:50 AM
To: [EMAIL PROTECTED]
Subject: _Not_ Port 25. Configuring Tomcat for sendmail

Hi,

If this has come through 2ce now, please forgive. The 1st one I sent
came
back
with the signup response.


I'm hoping someone can help me out here pls.

Using Tomcat 4.1.24, I'm trying to sendmail from a .jsp app. However
my
sendmail is configured to listen on a different port to 25.

Is there any way, without having to rewrite code, to configure
server.xml to contact sendmail on a port different to 25?

I would've thought I could add the port nr. to the end of the host
decl. in
my
mail.smtp.host resource-param, but it doesn't appear to like that.

If I've missed a piece of documentation, please just point it out.

MTiA

K



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential,
proprietary
and/or privileged.  This e-mail is intended only for the individual(s)
to
whom
it is addressed, and may not be saved, copied, printed, disclosed or
used
by
anyone else.  If you are not the(an) intended recipient, please
immediately
delete this e-mail from your computer system and notify the sender.
Thank
you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]