public interface SmtpAgent
| Modifier and Type | Method and Description |
|---|---|
org.nhindirect.stagent.NHINDAgent |
getAgent()
Gets a references to the security and trust agent used by the SmtpAgent.
|
SmtpAgentSettings |
getSmtpAgentSettings()
Gets the configuration settings of the SmtpAgent.
|
MessageProcessResult |
processMessage(javax.mail.internet.MimeMessage message,
org.nhindirect.stagent.NHINDAddressCollection recipients,
org.nhindirect.stagent.NHINDAddress sender)
Processes an message from an SMTP stack.
|
MessageProcessResult processMessage(javax.mail.internet.MimeMessage message, org.nhindirect.stagent.NHINDAddressCollection recipients, org.nhindirect.stagent.NHINDAddress sender)
message - The message in the SMTP envelope.recipients - The recipients of the message. The RCTP TO headers should be used over the message routing headers.sender - The send of the message. The MAIL FROM header should be used over the From: routing header in the message.org.nhindirect.stagent.NHINDAgent getAgent()
SmtpAgentSettings getSmtpAgentSettings()
Copyright © 2010–2021 NHIN Direct. All rights reserved.