java.lang.Object
org.springframework.integration.mail.support.MailUtils

public final class MailUtils
extends java.lang.Object
Utilities for handling mail messages.
Since:
4.3
  • Method Summary

    Modifier and Type Method Description
    static java.util.Map<java.lang.String,​java.lang.Object> extractStandardHeaders​(javax.mail.Message source)
    Map the message headers to a Map using MailHeaders keys; specifically maps the address headers and the subject.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • extractStandardHeaders

      public static java.util.Map<java.lang.String,​java.lang.Object> extractStandardHeaders​(javax.mail.Message source)
      Map the message headers to a Map using MailHeaders keys; specifically maps the address headers and the subject.
      Parameters:
      source - the message.
      Returns:
      the map.