## Uses of Class
com.jscape.inet.mime.MimeException

- Packages that use MimeException
  Package | Description
  --- | ---
  com.jscape.inet.email |
  com.jscape.inet.http |
  com.jscape.inet.mime |
  com.jscape.inet.nntp |
  com.jscape.inet.smtp |

- - ### Uses of MimeException in com.jscape.inet.email

    Methods in com.jscape.inet.email that throw MimeException
    Modifier and Type | Method and Description
    --- | ---
    `void` | EmailMessage.`addAttachment(Attachment attachment)` Adds attachment to this email message.
    `void` | HtmlEmailMessage.`addAttachment(Attachment att)` Adds attachment to email message.
    `void` | EmailMessage.`addAttachment(Attachment attachment, boolean wrap)` Adds attachment to this email message.
    `java.util.Enumeration` | EmailMessage.`getAttachments()` Gets all message attachments from this email message.
    `java.lang.String` | EmailMessage.`getBody()` Gets body of message.
    `byte[]` | EmailMessage.`getMessage()` Gets contents of this `EmailMessage`.
    `byte[]` | HtmlEmailMessage.`getMessage()` Gets contents of this `HtmlEmailMessage`.
    `int` | EmailMessage.`getPriority()` Gets priority of message when displayed in recipients email client.
    `void` | EmailMessage.`setBcc(java.lang.String bcc)` Sets receipient blind-carbon-copy email address.
    `void` | EmailMessage.`setCc(java.lang.String cc)` Sets receipient carbon-copy email address.
    `void` | EmailMessage.`setCc(java.lang.String cc, java.lang.String characterEncoding)` Sets receipient carbon-copy email address.
    `void` | EmailMessage.`setContentType(java.lang.String contentType)` Sets Content-Type header of email message.
    `void` | EmailMessage.`setContentType(java.lang.String contentType, java.lang.String characterSet)` Sets Content-Type header of email message.
    `void` | EmailMessage.`setFrom(java.lang.String from)` Sets from email address.
    `void` | EmailMessage.`setFrom(java.lang.String from, java.lang.String characterEncoding)` Sets from email address using defined character encoding.
    `void` | EmailMessage.`setPriority(int priority)` Sets priority of message when displayed in recipients email client.
    `void` | EmailMessage.`setReplyTo(java.lang.String replyto)` Sets message Reply-To address.
    `void` | EmailMessage.`setReplyTo(java.lang.String replyto, java.lang.String characterEncoding)` Sets message Reply-To address.
    `void` | EmailMessage.`setSubject(java.lang.String subject)` Sets message subject.
    `void` | EmailMessage.`setSubject(java.lang.String subject, java.lang.String characterEncoding)` Sets message subject.
    `void` | EmailMessage.`setTo(java.lang.String to)` Sets receipient to email address.
    `void` | EmailMessage.`setTo(java.lang.String to, java.lang.String characterEncoding)` Sets receipient to email address.

    Constructors in com.jscape.inet.email that throw MimeException
    Constructor and Description
    `EmailMessage()` Constructs an `EmailMessage` instance.
    `EmailMessage(byte[] contents)` Contructs and EmailMessage instance from contents of `contents`.
    `EmailMessage(java.lang.String to, java.lang.String from)` Constructs an `EmailMessage` instance defining to and from addresses.
    `EmailMessage(java.lang.String to, java.lang.String from, java.lang.String subject, java.lang.String body)` Constructs an `EmailMessage` instance defining to and from addresses and subject and body of email.
    `HtmlEmailMessage()` Creates a new HtmlEmailMessage instance.

  - ### Uses of MimeException in com.jscape.inet.http

    Methods in com.jscape.inet.http that throw MimeException
    Modifier and Type | Method and Description
    --- | ---
    `void` | HttpRequest.`addHeader(java.lang.String name, java.lang.String value)` Adds MIME header to this `HttpRequest`.
    `void` | HttpRequest.`addReplaceHeader(java.lang.String name, java.lang.String value)` Adds MIME header to this `HttpRequest`, replacing existing header if found.
    `java.util.Enumeration` | HttpResponse.`getCookies()` Gets all cookies sent back by HTTP server.
    `byte[]` | HttpRequest.`getMessage()` Gets contents of this `HttpRequest`.

    Constructors in com.jscape.inet.http that throw MimeException
    Constructor and Description
    `HttpCookie()` Constructs a new `HttpCookie` instance.
    `HttpResponse(byte[] message)` Creates a new HttpResponse object.

  - ### Uses of MimeException in com.jscape.inet.mime

    Methods in com.jscape.inet.mime that throw MimeException
    Modifier and Type | Method and Description
    --- | ---
    `void` | MimeHeader.`addAttribute(java.lang.String name, java.lang.String value)` Adds attribute to this `MimeHeader`.
    `void` | MimeMessage.`addHeader(java.lang.String name, java.lang.String value)` Adds MIME header to this `MimeMessage`.
    `void` | MimeMessage.`addPart(MimeMessage message)` Adds part to multipart `MimeMessage`.
    `void` | MimeMessage.`addReplaceHeader(java.lang.String name, java.lang.String value)` Adds MIME header to this `MimeMessage`, replacing existing header if found.
    `java.lang.String` | MimeMessage.`getBody()` Gets decoded message body using character encoding specified in charset attribute of Content-Type message header.
    `byte[]` | MimeMessage.`getBodyData()` Gets decoded message body as bytes.
    `java.lang.String` | MimeMessage.`getBoundary()` Gets boundary used in this `MimeMessage`.
    `byte[]` | MimeMessage.`getMessage()` Gets contents of this `MimeMessage`.
    `java.lang.String` | MimeHeaderAttr.`getValue()` Gets value of attribute.
    `void` | MimeMessage.`setBody(java.lang.String body, java.lang.String characterSet)` Sets body of this `MimeMessage` and sets the charset attribute of Content-Type header to provided character set.
    `void` | Attachment.`setContentEncoding(java.lang.String ce)` Sets Content-Transfer-Encoding header for this `Attachment`.
    `void` | MimeMessage.`setContentType(java.lang.String contentType)` Sets the content-type of this `MimeMessage`.
    `void` | Attachment.`setContentType(java.lang.String contentType)` Sets Content-Type header for this `Attachment`.

    Constructors in com.jscape.inet.mime that throw MimeException
    Constructor and Description
    `Attachment(byte[] data)` Constructs a new `Attachment` instance.
    `Attachment(java.io.File file)` Constructs a new `Attachment` instance.
    `Attachment(java.io.File file, java.lang.String characterEncoding)` Constructs a new `Attachment` instance.
    `Attachment(MimeMessage message)` Constructs a new `Attachment` instance from an existing MIME message.
    `Attachment(java.lang.String filename, byte[] data)` Constructs a new `Attachment` instance.
    `Attachment(java.lang.String filename, byte[] data, java.lang.String characterEncoding)` Constructs a new `Attachment` instance.
    `MimeHeader()` Constructs a new `MimeHeader` instance.
    `MimeHeader(byte[] data)` Constructs a new `MimeHeader` instance.
    `MimeHeader(java.lang.String name, java.lang.String value)` Constructs a new `MimeHeader` instance.
    `MimeHeader(java.lang.String name, java.lang.String value, java.lang.String characterEncoding)` Constructs a new `MimeHeader` instance.
    `MimeHeaderAttr(byte[] attr)` Constructs a new `MimeHeaderAttr` instance.
    `MimeHeaderAttr(java.lang.String attr)` Constructs a new `MimeHeaderAttr` instance.
    `MimeHeaderAttr(java.lang.String name, java.lang.String value)` Constructs a new `MimeHeaderAttr` instance.
    `MimeHeaderAttr(java.lang.String name, java.lang.String value, java.lang.String characterEncoding)` Constructs a new `MimeHeaderAttr` instance.
    `MimeMessage(byte[] message)` Constructs a `MimeMessage` from existing content.

  - ### Uses of MimeException in com.jscape.inet.nntp

    Methods in com.jscape.inet.nntp that throw MimeException
    Modifier and Type | Method and Description
    --- | ---
    `void` | NntpArticleHeader.`setDate(java.lang.String date)` Sets Date header.
    `void` | NntpArticle.`setFrom(java.lang.String from)` Sets From header for this `NntpArticle`.
    `void` | NntpArticleHeader.`setFrom(java.lang.String from)` Sets From header.
    `void` | NntpArticle.`setNewsgroups(java.lang.String newsgroups)` Sets Newsgroups header for this `NntpArticle`.
    `void` | NntpArticle.`setSubject(java.lang.String subject)` Sets Subject header for this `NntpArticle`.
    `void` | NntpArticleHeader.`setSubject(java.lang.String subject)` Sets Subject header.

    Constructors in com.jscape.inet.nntp that throw MimeException
    Constructor and Description
    `NntpArticle(byte[] contents)` Constructs a new `NntpArticle` from existing MIME content.
    `NntpArticle(java.lang.String from, java.lang.String newsgroups, java.lang.String subject)` Constructs a new `NntpArticle`.
    `NntpArticleHeader(byte[] contents)` Creates a new NntpArticleHeader object.

  - ### Uses of MimeException in com.jscape.inet.smtp

    Methods in com.jscape.inet.smtp that throw MimeException
    Modifier and Type | Method and Description
    --- | ---
    `void` | Smtp.`send(java.lang.String from, java.lang.String to, java.lang.String subject, java.lang.String body)` Sends basic email message.

Copyright © JSCAPE LLC. 1999-2021. All Rights Reserved