[opencms-dev] Send Emails

Stanczak Group justin at stanczakgroup.com
Tue Jan 16 19:25:07 CET 2007


Thanks. I ran into it right after sending the first email.

Joachim Arrasz wrote:
> Hi,
>
>   
>> Creating a web form in jsp, but how do I send emails in OpenCMS? I tried
>> using javax.mail but it's doesn't allow me session access. What should I
>> be using?
>>     
>
> just use OpenCms internal Mailing... OpenCms comes with
> jakarta-commons-mail support. It's wrapped and useable from API.
>
> See CmsSimpleMail
>
> http://synyx.de/api/opencms6.2.2/org/opencms/mail/CmsSimpleMail.html
>
> hth
>
> Achim
>
>   

-- 
Justin Stanczak
Stanczak Group
812-735-3600

"All that is necessary for the triumph of evil is that good men do nothing."
Edmund Burke




More information about the opencms-dev mailing list