MessageInfo Event

Fired with information for the message(s) retrieved by the server.


public class DefaultImapEventListener implements ImapEventListener {
  public void messageInfo(ImapMessageInfoEvent e) {}

public class ImapMessageInfoEvent {
  public String messageId;
  public String subject;
  public String messageDate;
  public String from;
  public String flags;
  public long size;


The MessageInfo event is fired when messages are searched, listed, or message information is received.

Id is the Id of the message.

Subject is the message subject.

MessageDate is the date of the message.

From is the email address of the sender.

Flags is a list of flags associated with this message.

Size is the size of the message.

More information may be received from the respective properties, such as: MessageContentType, MessageContentEncoding, MessageRecipients, MessageDeliveryTime, MessageFlags, MessageHeaders, MessageInReplyTo, MessageNetId, MessageReplyTo, MessageSender, MessageSize, MessageSubject, MessageText, etc.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks EDI 2020 Java Edition - Version 20.0 [Build 8162]