<HTML>
<HEAD>
<TITLE>email question</TITLE>
</HEAD>
<BODY>
Hello,<BR>
<BR>
I want to be able to catch an exception when using CmsSimpleMail, if the email cannot be sent.<BR>
<BR>
Has anyone done this?<BR>
<BR>
I tried using EmailException, from org.apache.commons.mail, but I get a syntax error when trying to run my JSP.<BR>
<BR>
I'm new to exceptions, and try/catch, any help is appreciated.<BR>
<BR>
Thanks,<BR>
<BR>
Al<BR>
<FONT COLOR="#0000FF"><B><BR>
<BR>
</B></FONT><B>Alexis Torreno <BR>
</B>Web Developer<BR>
<BR>
<B>TAYLOR|SPRULES CORPORATION<BR>
</B>Head Office<BR>
66 The Esplanade<BR>
Toronto, ON M5E 1A6<BR>
<BR>
Voice 416.362.4833 X 246<BR>
Fax 416.362.5824<BR>
<FONT COLOR="#0000FF"><U>alexis@tsworld.com<BR>
</U></FONT><FONT COLOR="#FF0000">www.tsworld.com<BR>
</FONT><FONT COLOR="#808080"><BR>
<B>TAYLOR|SPRULES CORPORATION <BR>
</B>We develop and implement great ideas for<BR>
intelligent corporations, individuals, governments <BR>
and NGO's around the world.<BR>
<BR>
<B>TAYLOR|SPRULES CORPORATION<BR>
</B>Nous développons et lançons de grandes idées <BR>
pour des corporations, des particuliers, des gouvernements <BR>
et des ONGs intelligents à travers le monde.</FONT> <BR>
</BODY>
</HTML>