private ReceivedEmail addAttachment(final Part part, final byte[] content) throws MessagingException {
    """
	Adds received attachment.
	
	@param part    {@link Part}.
	@param content Content as byte array.
	@return this
	@see #attachment(EmailAttachment)
    """
		final EmailAttachmentBuilder builder = addAttachmentInfo(part);
		builder.content(content, part.getContentType());
		final EmailAttachment<ByteArrayDataSource> attachment = builder.buildByteArrayDataSource();
		attachment.setSize(content.length);
		return storeAttachment(attachment);
	}
private ReceivedEmail addAttachment(final Part part, final byte[] content) throws MessagingException {
		final EmailAttachmentBuilder builder = addAttachmentInfo(part);
		builder.content(content, part.getContentType());
		final EmailAttachment<ByteArrayDataSource> attachment = builder.buildByteArrayDataSource();
		attachment.setSize(content.length);
		return storeAttachment(attachment);
	}
private ReceivedEmail addAttachment ( final Part part , final byte [ ] content ) throws MessagingException { final EmailAttachmentBuilder builder = addAttachmentInfo ( part ) ; builder . content ( content , part . getContentType ( ) ) ; final EmailAttachment < ByteArrayDataSource > attachment = builder . buildByteArrayDataSource ( ) ; attachment . setSize ( content . length ) ; return storeAttachment ( attachment ) ; }
Adds received attachment.

@param part    {@link Part}.
@param content Content as byte array.
@return this
@see #attachment(EmailAttachment)
Adds received attachment .