public void setFrom ( Object from ) throws PageException { if ( StringUtil . isEmpty ( from , true ) ) throw new ApplicationException ( "attribute [from] cannot be empty" ) ; try { smtp . setFrom ( from ) ; } catch ( Exception e ) { throw Caster . toPageException ( e ) ; } }
set the value from The sender of the e - mail message .