[opencms-dev] Send Email From JSP

M Butcher mbutcher at grcomputing.net
Fri Apr 2 00:57:01 CEST 2004


You need the SMTP server address of your local network. Otherwise, you 
can look at the other options in JavaMail API. Basically, though, you 
need a server to which you can send the email message.

Matt

Travis Stude wrote:
> I would like to send an email from a jsp page, I need this email to go 
> to two people.  I found the class CmsMail and the method buildMessage, 
> but that requires that I know the smtp server.  I do not know the 
> address of that.  If there is an easier way of sending an email from the 
> page or if you know the SMTP server address for opencms I would 
> appreciate any help.
>  
> Thanks,
> TJ




More information about the opencms-dev mailing list