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

public final class MailUtils extends Object
Utilities for handling mail messages.
Since:
4.3
Author:
Gary Russell, Artem Bilan
  • Method Details

    • extractStandardHeaders

      public static Map<String,Object> extractStandardHeaders(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.