tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jerry Ford <jf...@katzenjammer.us>
Subject Re: javax.mail
Date Wed, 11 Feb 2004 18:31:02 GMT
Just a guess here, but have you tried using a fully qualified domain 
name for the host, as mysmtphost.mydomain.com?

Jerry

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");
>
>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
>  
>


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