RE: JavaMail SMTP authentication in JSP

2007-07-13 Thread Propes, Barry L
I'll send you some offline. Although I basically gave up on it here because we couldn't get the email admins to allow relaying. -Original Message- From: Lyallex [mailto:[EMAIL PROTECTED] Sent: Friday, July 13, 2007 10:21 AM To: Tomcat Users List Subject: Re: JavaMail SMTP auth

Re: JavaMail SMTP authentication in JSP

2007-07-13 Thread Mark H. Wood
If you *do* get it working with TLS, I'd appreciate hearing how. -- Mark H. Wood, Lead System Programmer [EMAIL PROTECTED] Typically when a software vendor says that a product is "intuitive" he means the exact opposite. pgpvqA6KJOlKV.pgp Description: PGP signature

Re: JavaMail SMTP authentication in JSP

2007-07-13 Thread Lyallex
properties.put("mail.smtp.auth", "true"); ... transport.connect(host, user, pass); possibly ? rgds Duncan On 7/13/07, Garthfield Carter <[EMAIL PROTECTED]> wrote: Hello, Has anybody got an example they could send me of how to authenticate with an SMTP server to send an email in JSP for JavaMa

Re: JavaMail SMTP authentication in JSP

2007-07-13 Thread Garthfield Carter
Mildly embarrasing, but the below example works. Please ignore this thread. Really ought to have tested my last change sorry. Garthfield Garthfield Carter wrote: Hello, Has anybody got an example they could send me of how to authenticate with an SMTP server to send an email in JSP for JavaMa

JavaMail SMTP authentication in JSP

2007-07-13 Thread Garthfield Carter
Hello, Has anybody got an example they could send me of how to authenticate with an SMTP server to send an email in JSP for JavaMail? I've been trying unsuccessfully for two days trying to get something working. I'm just trying in plain text at the moment, I don't need SSL or anything. Below