Monday, August 5, 2002 08:38 AM
if sendmail is running on your server (as daemon), it is usually configured to accept connections on port 25 (the well-known-smtp-port).
then do something like this:
Properties props=System.getProperties(); props.put("mail.smtp.host","yourservernameoraddresshere");
and create a session from that.
you shouldnt use an applet - better use an application or develop a simple servlet or jsp for it.