jodd-mail/src/main/java/jodd/mail/SendMailSession.java
private void setContent(final EmailMessage emailWithData, final Part partToSet) throws MessagingException {
		partToSet.setContent(emailWithData.getContent(), emailWithData.getMimeType() + CHARSET + emailWithData.getEncoding());
	}
private void setContent(final EmailMessage emailWithData, final Part partToSet) throws MessagingException {
		partToSet.setContent(emailWithData.getContent(), emailWithData.getMimeType() + CHARSET + emailWithData.getEncoding());
	}
Sets emailWithData content into msgToSet.

@param emailWithData {@link EmailMessage} with data.
@param partToSet     {@link Part} to set data into.
@throws MessagingException if there is a failure.