org.apache.james.postage.mail
Interface MailValidator
- All Known Implementing Classes:
- DefaultMailValidator
public interface MailValidator
implementations validate matched and received messages by checking for the expected properties.
for example, they could check for spam-marking headers or mime parts.
most commonly, each MailValidator implementation matches one corresponding MailFactory.
validate
boolean validate(javax.mail.Message message,
MailProcessingRecord record)
Copyright © 2006-2007 The Apache Software Foundation. All Rights Reserved.