jodd-mail/src/main/java/jodd/mail/SendMailSession.java
public String sendMail(final Email email) {
		try {
			final MimeMessage msg = createMessage(email);
			getService().sendMessage(msg, msg.getAllRecipients());
			return msg.getMessageID();
		} catch (final MessagingException msgexc) {
			throw new MailException("Failed to send email: " + email, msgexc);
		}
	}
public String sendMail(final Email email) {
		try {
			final MimeMessage msg = createMessage(email);
			getService().sendMessage(msg, msg.getAllRecipients());
			return msg.getMessageID();
		} catch (final MessagingException msgexc) {
			throw new MailException("Failed to send email: " + email, msgexc);
		}
	}
public String sendMail ( final Email email ) { try { final MimeMessage msg = createMessage ( email ) ; getService ( ) . sendMessage ( msg , msg . getAllRecipients ( ) ) ; return msg . getMessageID ( ) ; } catch ( final MessagingException msgexc ) { throw new MailException ( "Failed to send email: " + email , msgexc ) ; } }
Prepares message and sends it. Returns Message ID of sent email.

@param email {@link Email} to send.
@return String representing message ID.
Prepares message and sends it . Returns Message ID of sent email .