Yes. Tomcat is not a mail transfer agent (MTA). You will need a MTA on the standard port (port 25), either on localhost or some other host. Typical MTAs are sendmail, qmail, Microsoft's IIS, and many more.


The mail services included with Tomcat for sending mail interface with an MTA, they do not implement an MTA.

You can use any compatible MTA, such as sendmail on localhost if you have a UNIX-like system, or Microsoft's SMTP service on localhost if you have Windows, or any other remote MTA that is available to you, such as the MTA provided by your ISP.
John


On Sat, 7 Jun 2003 12:45:13 +0800, Clement <[EMAIL PROTECTED]> wrote:

sorry i am at a lost... do u mean that an additional SMTP server/
program is needed??
----- Original Message -----
From: "John Corrigan" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Saturday, June 07, 2003 11:41
Subject: RE: Tomcat configuring for email


Provided that localhost has an SMTP server then yes, e-mailing is "on."
The
example .jsp does in fact send e-mails provided that everything else is
configured correctly.

-----Original Message-----
From: Clement [mailto:[EMAIL PROTECTED]
Sent: Friday, June 06, 2003 8:30 PM
To: Tomcat Users List
Subject: Re: Tomcat configuring for email


Hello. Sorry for the confusion. What i meant does tomcat have a built in emailing? As u replied there is . But is it on by default? when i try running the example inside , it seems to be a dummy one. What i am trying to do is to mail a user automatically everytime he makes a purchase. inside the default server.xml as shown below, is this the way to
enable
emailing or is there more to it?
Thanks..
<Environment name="maxExemptions" type="java.lang.Integer"
value="15"/>
<Parameter name="context.param.name" value="context.param.value"
override="false"/>
<Resource name="jdbc/computersDB" auth="SERVLET"
type="javax.sql.DataSource"/>
<ResourceParams name="jdbc/computersDB">
<parameter><name>user</name><value>sa</value></parameter>
<parameter><name>password</name><value></value></parameter>
<parameter><name>driverClassName</name>
<value>org.hsql.jdbcDriver</value></parameter>
<parameter><name>driverName</name>
<value>jdbc:HypersonicSQL:database</value></parameter>
</ResourceParams>
<Resource name="mail/Session" auth="Container"
type="javax.mail.Session"/>
<ResourceParams name="mail/Session">
<parameter>
<name>mail.smtp.host</name>
<value>localhost</value>
</parameter>
</ResourceParams>
</Context>

----- Original Message -----
From: "Phillip Qin" <[EMAIL PROTECTED]>
To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
Sent: Friday, June 06, 2003 23:17
Subject: RE: Tomcat configuring for email


> Don't understand your question. Tomcat has built-in mail session jndi
> lookup. You can use it in your program. Is that what you want?
>
> -----Original Message-----
> From: Clement [mailto:[EMAIL PROTECTED]
> Sent: June 6, 2003 2:53 AM
> To: Tomcat Users List
> Subject: Tomcat configuring for email
>
> Hello...
> I would like to check with for emailing purposes.. how do i enable
> tomcat to send an email to a user? Can version 4.01 do this or do u need
a
> newer version? ?
>     Thanks..
>
>

---------------------------------------------------------------------
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]



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





-- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/

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



Reply via email to