public void setCc ( Object cc ) throws ApplicationException { if ( StringUtil . isEmpty ( cc ) ) return ; try { smtp . addCC ( cc ) ; } catch ( Exception e ) { throw new ApplicationException ( "attribute [cc] of the tag [mail] is invalid" , e . getMessage ( ) ) ; } }
set the value cc Indicates addresses to copy the e - mail message to ; cc stands for carbon copy .