tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dwayne Ghant <dgh...@temple.edu>
Subject Re: javax.mail
Date Wed, 11 Feb 2004 17:32:23 GMT
You don't need a SMTP server to send mail . Technically speaking the 
protocol it self does the sending and
not the server.

Duncan Smith wrote:

>Hi, sorry if this is the wrong mailing list but I think most people here
>are Java programmers so:
>
>I am using javax.mail to send a mail to myself if a particular problem
>occurs on the server.  My code seems to work but, but it does not use
>the smtp server which I am specifying. I cannot find a problem in my
>code as it seems to be identical to examples which I have found.
>
>I use the line:
>props.put("mail.smtp.host", "mysmtphost");
>
Make sure that <mail.smtp.host> allows relaying!

>
>to specify the smtp server (which is on a differant computer) but the
>mail is being sent through the smtp server running on the same machine
>as the jsp. Has anyone else had this problem at all, or am I just doing
>something wrong?
>
>-Duncan
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>  
>

-- 

Dwayne A. Ghant
Application Developer
Temple University
215.204.5555
dghant@temple.edu

 



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message