Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.jboss.net.axis.transport.mailto
Class MailMessage

    java.lang.Object
      javax.mail.Message
          javax.mail.internet.MimeMessage
              org.jboss.net.axis.transport.mailto.MailMessage

All Implemented Interfaces:
  javax.mail.internet.MimePart, javax.mail.Part

public class MailMessage
extends javax.mail.internet.MimeMessage

Title:
  JBoss.Net Email Message

Description:
  This is a MimeMessage that allows a mesage ID to be manually by the sender.

Version:
  $Revision: 1.1 $
Author:
  Jason Essington

Nested Class Summary

Nested classes inherited from class javax.mail.internet.MimeMessage
`javax.mail.internet.MimeMessage.RecipientType`

Field Summary
`protected String` | `messageID`

Fields inherited from class javax.mail.internet.MimeMessage
`content, contentStream, dh, flags, headers, modified, saved`

Fields inherited from class javax.mail.Message
`expunged, folder, msgnum, session`

Fields inherited from interface javax.mail.Part
`ATTACHMENT, INLINE`

Constructor Summary
`MailMessage(javax.mail.internet.MimeMessage arg0)`
`MailMessage(javax.mail.Session arg0)`
`MailMessage(javax.mail.Session arg0, InputStream arg1)`

Method Summary
`String` | `getMessageID()` Returns the current message ID.
`void` | `setMessageID(String id)` Set the message ID for this message.
`protected void` | `updateHeaders()` If we have set our own messageID, we should use that other wise go ahead and use the one generated by javamail.

Methods inherited from class javax.mail.internet.MimeMessage
`addFrom, addHeader, addHeaderLine, addRecipients, addRecipients, createInternetHeaders, getAllHeaderLines, getAllHeaders, getAllRecipients, getContent, getContentID, getContentLanguage, getContentMD5, getContentStream, getContentType, getDataHandler, getDescription, getDisposition, getEncoding, getFileName, getFlags, getFrom, getHeader, getHeader, getInputStream, getLineCount, getMatchingHeaderLines, getMatchingHeaders, getNonMatchingHeaderLines, getNonMatchingHeaders, getRawInputStream, getReceivedDate, getRecipients, getReplyTo, getSender, getSentDate, getSize, getSubject, isMimeType, isSet, parse, removeHeader, reply, saveChanges, setContent, setContent, setContentID, setContentLanguage, setContentMD5, setDataHandler, setDescription, setDescription, setDisposition, setFileName, setFlags, setFrom, setFrom, setHeader, setRecipients, setRecipients, setReplyTo, setSender, setSentDate, setSubject, setSubject, setText, setText, writeTo, writeTo`

Methods inherited from class javax.mail.Message
`addRecipient, getFolder, getMessageNumber, isExpunged, match, setExpunged, setFlag, setMessageNumber, setRecipient`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### messageID

    protected String messageID

Constructor Detail

### MailMessage

    public MailMessage(javax.mail.internet.MimeMessage arg0)
                throws javax.mail.MessagingException

Parameters:
  `arg0` -
Throws:
  `javax.mail.MessagingException`

### MailMessage

    public MailMessage(javax.mail.Session arg0)

Parameters:
  `arg0` -

### MailMessage

    public MailMessage(javax.mail.Session arg0,
                       InputStream arg1)
                throws javax.mail.MessagingException

Parameters:
  `arg0` -
  `arg1` -
Throws:
  `javax.mail.MessagingException`

Method Detail

### updateHeaders

    protected void updateHeaders()
                          throws javax.mail.MessagingException

  If we have set our own messageID, we should use that other wise go ahead and use the one generated by javamail.

  Throws:
    `javax.mail.MessagingException`
  See Also:
    `MimeMessage.updateHeaders()`

### getMessageID

    public String getMessageID()

  Returns the current message ID.

### setMessageID

    public void setMessageID(String id)

  Set the message ID for this message.

  Parameters:
    `id` -

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2002 JBoss Group, LLC. All Rights Reserved.