email.attach(fd, docsDto.getDocName(), docsDto.getDocName());
}
}
setCommonAttributes(emailDto, email);
email.send();
}catch(SwingObjectsException e) {
throw e;
}catch(EmailException e) {
if(e.getCause() instanceof AuthenticationFailedException) {
throw new SwingObjectsException("error.email.authfailed", ErrorSeverity.ERROR, null, EmailHelper.class);