message.getMimeMessage().writeTo(out);
}
catch( FileNotFoundException ex)
{
throw new TechnicalException("can't add message, path seems not to exist", ex);
}
catch( IOException ex)
{
throw new TechnicalException("can't add message, unable to write", ex);
}
catch( MessagingException ex)
{
throw new BusinessException("can't add message", ex);
}