Class MailUtils
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
-
Method Summary
Modifier and Type Method Description static Map<String,Object>
extractStandardHeaders(javax.mail.Message source)
Map the message headers to a Map usingMailHeaders
keys; specifically maps the address headers and the subject.
-
Method Details
-
extractStandardHeaders
Map the message headers to a Map usingMailHeaders
keys; specifically maps the address headers and the subject.- Parameters:
source
- the message.- Returns:
- the map.
-