Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

Re: Javamail not working with non-Outlook Express users.

charles doweary

2004-01-14


David,

I X'ed out my real host name. But the "XXXXXX-YYYYYY1" represents the host
name of my computer. My Outgoing SMTP server is "smtp.covad.net". My host
computer name is "XXXXXX-YYYYYY1". I'm going to try
"prop.put("mail.smtp.host","smtp.covad.net");", and see where that gets me.
Thanks for the insight.

Charles.


>From: "David Wall" <d.wall@(protected)>
>Reply-To: "David Wall" <d.wall@(protected)>
>To: <tomcat-user@(protected)>
>CC: <charlesdoweary@(protected)>
>Subject: Re: Javamail not working with non-Outlook Express users. Date:
>Wed, 14 Jan 2004 16:16:05 -0800
>
>You need to check what you are doing. It makes no sense that a text email
>gets an HTTP error. What the heck is it doing coming back to your Tomcat
>anyway? Email is sent via SMTP.
>
>I don't know what you are trying to do with the following code fragment:
> > Properties props = new Properties();
> >           props.put("smtp.covad.net", "XXXXXX-YYYYYY1");
>
>Normally, you'd do something like:
>
>Properties prop = new Properties();
>prop.put("mail.smtp.host","mail.yourhost.com");
>
>The SMTP server (mail.yourhost.com above) takes care of delivery, so
>there's no need to worry about which email client a person uses.
>
>Perhaps you meant (if that's the smtp server you use to send email out):
>
>prop.put("mail.smtp.host","smtp.covad.net");
>
>Good luck,
>David

_________________________________________________________________
Find out everything you need to know about Las Vegas here for that getaway.
http://special.msn.com/msnbc/vivalasvegas.armx


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)



©2008 junlu.com - Jax Systems, LLC, U.S.A.