private static int getSmtpPort ( final ApplicationConfiguration smtpPort ) { if ( StringUtils . isNumeric ( smtpPort . getPropertyValue ( ) ) ) { return Integer . parseInt ( smtpPort . getPropertyValue ( ) ) ; } else { return Integer . parseInt ( DEFAULT_SMTP_PORT ) ; } }
Gets the smtp port .