code: @Override
  	public void setContent(final Object content, final String type) throws MessagingException
  	{
  		charset = EmailExtensions.getCharsetFromContentType(type);
  		super.setContent(content, type);
  	}
docs: Sets the content.
  
  @param content
  the content
  @param type
  the type
  @throws MessagingException
  is thrown if the underlying implementation does not support modification of
  existing values
  
  @see javax.mail.Part#setContent(java.lang.Object, java.lang.String)