private void extractSimpleMessage(final String content, final int partIndex) throws MessagingException {
final ByteArrayInputStream byteStream = new ByteArrayInputStream(getRawBytes(content, partIndex));
final byte[] data;
try {
final UUDecoder uudc = new UUDecoder();
data = uudc.decodeBuffer(byteStream);
} catch (IOException e) {
throw new MessagingException("Error Uudecoding attachment: " + e.getMessage());
}
if (StringUtils.isEmpty(fContentType)) {
throw new StepFailedException("Attribute 'contentType' must be supplied for simple messages.", this);