code: public void addAttachment(final String name, final byte[] data, final String mimetype) {
  		final ByteArrayDataSource dataSource = new ByteArrayDataSource(data, mimetype);
  		dataSource.setName(name);
  		addAttachment(name, dataSource);
  	}
docs: Adds an attachment to the email message and generates the necessary {@link DataSource} with the given byte data.
  Then delegates to {@link #addAttachment(String, DataSource)}. At this point the datasource is actually a
  {@link ByteArrayDataSource}.
  
  @param name The name of the extension (eg. filename including extension).
  @param data The byte data of the attachment.
  @param mimetype The content type of the given data (eg. "plain/text", "image/gif" or "application/pdf").
  @see ByteArrayDataSource
  @see #addAttachment(String, DataSource)