aspNetEmail

EmailMessage.ClearMimeBodyPart Method

Removes a mime body part, based upon that part's BodyFormat. Because each body part must have a unique BodyFormat, only 1 body part will be removed from the collection.

Overload List

Removes a mime body part, based upon that part's BodyFormat. Because each body part must have a unique BodyFormat, only 1 body part will be removed from the collection.

public bool ClearMimeBodyPart(MailFormat);

Clears the mime body part at the specified index.

public bool ClearMimeBodyPart(int);

Removes a mime body part, based upon that part's content type. Because each body part must have a unique content type, only 1 body part will be removed from the collection.

public bool ClearMimeBodyPart(string);

See Also

EmailMessage Class | aspNetEmail Namespace