I'm not using applets.
Just jsp page that will pass the email message to a servlet. The servlet
would then send the mail.

>>you couldeither require SMTP AUTH in your mail server, and send that 
username/password

Wanted to pass the un & password from the app to a servlet that would
send it.
the jars would only be on the server.

The connection between the sevlet & james would then be authenticated.
Would that work?

-----Original Message-----
From: Serge Knystautas [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, June 18, 2003 2:44 PM
To: James Users List
Subject: Re: SMTP


David Schwartz wrote:
>>>Unless you have some fancy authentication happening with your email,
> 
> 
> Was planning to use SSL.
> Jsp interface. I would log in using the email account username & 
> password. If they don't match the user can't send email. The page 
> would not be open to the public.
> 
> Would that work?

No, that just authenticates the application, not the sending message.

Are you actually distributing javamail.jar and activation.jar with your 
applet and doing the SMTP commands from the applet?  Maybe in the newest

Java plugin it would work, but javamail didn't use to work in applets 
because of resource loading issues in the jar.

If you are, this is kind of tough.  Off the top of my head, you could 
either require SMTP AUTH in your mail server, and send that 
username/password to your applet secure (over SSL should be fine I
suppose).

-- 
Serge Knystautas
President
Lokitech >> software . strategy . design >> http://www.lokitech.com p.
301.656.5501 e. [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]

Reply via email to