jodd-mail/src/main/java/jodd/mail/SendMailSession.java
protected MimeMessage createMessage(final Email email) throws MessagingException {
		final Email clone = email.clone();

		final MimeMessage newMsg = new MimeMessage(getSession());

		setPeople(clone, newMsg);
		setSubject(clone, newMsg);
		setSentDate(clone, newMsg);
		setHeaders(clone, newMsg);
		addBodyData(clone, newMsg);
		return newMsg;
	}
protected MimeMessage createMessage(final Email email) throws MessagingException {
		final Email clone = email.clone();

		final MimeMessage newMsg = new MimeMessage(getSession());

		setPeople(clone, newMsg);
		setSubject(clone, newMsg);
		setSentDate(clone, newMsg);
		setHeaders(clone, newMsg);
		addBodyData(clone, newMsg);
		return newMsg;
	}
protected MimeMessage createMessage ( final Email email ) throws MessagingException { final Email clone = email . clone ( ) ; final MimeMessage newMsg = new MimeMessage ( getSession ( ) ) ; setPeople ( clone , newMsg ) ; setSubject ( clone , newMsg ) ; setSentDate ( clone , newMsg ) ; setHeaders ( clone , newMsg ) ; addBodyData ( clone , newMsg ) ; return newMsg ; }
Creates new {@link MimeMessage} from an {@link Email}.

@param email {@link Email} to be created as a {@link MimeMessage}.
@return {@link MimeMessage} created from an {@link Email}.
@throws MessagingException if there is a failure
Creates new { @link MimeMessage } from an { @link Email } .