Modifier and Type | Interface and Description |
---|---|
static class |
MessageTransaction.Reason
Reasons for denying the Transaction.
|
Modifier and Type | Method and Description |
---|---|
void |
fileError(String destination,
String reason,
String bodySubtype,
String body)
File an error message.
|
String |
getFrom() |
String |
getIDHash(DupeDetection dupeDetection)
Get an ID Hash that is valid in the context of the given
DupeDetection mode. |
javax.mail.internet.MimeMessage |
getMessage() |
String |
getMessageID() |
List<String> |
getRecipients() |
SocketAddress |
getRemoteAddress() |
void |
reject(MessageTransaction.Reason reason,
String message)
Rejects the given message and causes to abort the transaction.
|
void |
send(javax.mail.internet.MimeMessage message)
Send a
Message . |
void |
setIDHash(DupeDetection dupeDetection,
String idHash)
The the ID Hash that is valid in the context of the given
DupeDetection mode. |
javax.mail.internet.MimeMessage getMessage()
Message
itself.String getMessageID()
void reject(MessageTransaction.Reason reason, String message)
reason
- Why the transaction was rejectedmessage
- A more detailed message.SocketAddress getRemoteAddress()
void fileError(String destination, String reason, String bodySubtype, String body)
destination
- A recipient of the error report.reason
- The reason of the errorbodySubtype
- the subtype of the message. (i.e. "plain" or "html")body
- A detailed report.void send(javax.mail.internet.MimeMessage message) throws javax.mail.MessagingException
Message
.message
- The Message
to sendjavax.mail.MessagingException
void setIDHash(DupeDetection dupeDetection, String idHash)
DupeDetection
mode.dupeDetection
- the contextidHash
- the ID Hash.getIDHash(DupeDetection)
String getIDHash(DupeDetection dupeDetection)
DupeDetection
mode.
That means that in one DupeDetection
mode, two mails can have the same, but in
another mode those two mails can a different ID Hash.dupeDetection
- The context of the requested ID HashCopyright © 2017 levigo holding gmbh. All rights reserved.