|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Mail | |
org.apache.james | |
org.apache.james.core | Implementations of core James services and concepts. |
org.apache.james.fetchmail | |
org.apache.james.mailrepository | Implementations of mail repositories for use in James. |
org.apache.james.services | A set of interfaces for commonly used, generic James concepts. |
org.apache.james.smtpserver | Provides classes implementing SMTP functionality. |
org.apache.james.transport | Classes that implement the matcher/mailet processing chain. |
org.apache.james.transport.mailets | Core mailets for use with the Mailet API. |
org.apache.james.transport.mailets.debug | Debugging mailets for use with the Mailet API. |
org.apache.james.transport.mailets.listservcommands | |
org.apache.james.transport.mailets.smime | |
org.apache.james.transport.matchers | Core matchers for use with the Mailet API. |
org.apache.james.transport.matchers.smime | |
org.apache.mailet | The classes that constitute the Mailet API. |
Uses of Mail in org.apache.james |
Methods in org.apache.james with parameters of type Mail | |
void |
James.sendMail(Mail mail)
Place a mail on the spool for processing |
void |
James.bounce(Mail mail,
String message)
This generates a response to the Return-Path address, or the address of the message's sender if the Return-Path is not available. |
void |
James.bounce(Mail mail,
String message,
MailAddress bouncer)
This generates a response to the Return-Path address, or the address of the message's sender if the Return-Path is not available. |
Uses of Mail in org.apache.james.core |
Classes in org.apache.james.core that implement Mail | |
class |
MailImpl
Wraps a MimeMessage adding routing information (from SMTP) and some simple API enhancements. |
Methods in org.apache.james.core that return Mail | |
Mail |
MailImpl.duplicate()
Duplicate the MailImpl. |
Mail |
MailImpl.duplicate(String newName)
Duplicate the MailImpl, replacing the mail name with the one passed in as an argument. |
Constructors in org.apache.james.core with parameters of type Mail | |
MailImpl(Mail mail,
String newName)
|
Uses of Mail in org.apache.james.fetchmail |
Methods in org.apache.james.fetchmail that return Mail | |
protected Mail |
MessageProcessor.createMail(MimeMessage message,
MailAddress recipient)
Method createMail creates a new Mail . |
Methods in org.apache.james.fetchmail with parameters of type Mail | |
protected void |
MessageProcessor.handleBouncing(Mail mail)
Method handleBouncing sets the Mail state to ERROR and delete from the message store. |
protected void |
MessageProcessor.sendMail(Mail mail)
Method sendMail. |
protected void |
MessageProcessor.addMailAttributes(Mail aMail)
Adds the mail attributes to a Mail . |
protected void |
MessageProcessor.addErrorMessages(Mail mail)
Adds any required error messages to a Mail . |
Uses of Mail in org.apache.james.mailrepository |
Methods in org.apache.james.mailrepository that return Mail | |
Mail |
AvalonSpoolRepository.accept()
Returns an arbitrarily selected mail deposited in this Repository. |
Mail |
AvalonSpoolRepository.accept(long delay)
Returns an arbitrarily selected mail deposited in this Repository that is either ready immediately for delivery, or is younger than it's last_updated plus the number of failed attempts times the delay time. |
Mail |
AvalonSpoolRepository.accept(SpoolRepository.AcceptFilter filter)
Returns an arbitrarily select mail deposited in this Repository for which the supplied filter's accept method returns true. |
Mail |
JDBCMailRepository.retrieve(String key)
Retrieves a message given a key. |
Mail |
JDBCSpoolRepository.accept()
Return a message to process. |
Mail |
JDBCSpoolRepository.accept(long delay)
Return a message that's ready to process. |
Mail |
JDBCSpoolRepository.accept(SpoolRepository.AcceptFilter filter)
Returns an arbitrarily selected mail deposited in this Repository for which the supplied filter's accept method returns true. |
Mail |
MBoxMailRepository.retrieve(String key)
Get a message from the backing store (disk) |
Mail |
AvalonMailRepository.retrieve(String key)
Retrieves a message given a key. |
Mail |
MailStoreSpoolRepository.accept()
|
Mail |
MailStoreSpoolRepository.accept(long delay)
|
Mail |
MailStoreSpoolRepository.accept(SpoolRepository.AcceptFilter filter)
|
Mail |
MailStoreSpoolRepository.retrieve(String key)
|
Methods in org.apache.james.mailrepository with parameters of type Mail | |
void |
JDBCMailRepository.store(Mail mc)
Store this message to the database. |
void |
JDBCMailRepository.remove(Mail mail)
Removes a specified message |
void |
JDBCSpoolRepository.store(Mail mc)
Needs to override this method and reset the time to load to zero. |
void |
MBoxMailRepository.store(Mail mc)
Store the given email in the current mbox file |
void |
MBoxMailRepository.remove(Mail mail)
Remove an existing message |
void |
AvalonMailRepository.store(Mail mc)
Stores a message in this repository. |
void |
AvalonMailRepository.remove(Mail mail)
Removes a specified message |
void |
MailStoreSpoolRepository.store(Mail mc)
|
void |
MailStoreSpoolRepository.remove(Mail mail)
|
Uses of Mail in org.apache.james.services |
Methods in org.apache.james.services that return Mail | |
Mail |
SpoolRepository.accept()
Returns an arbitrarily selected mail deposited in this Repository. |
Mail |
SpoolRepository.accept(long delay)
Returns an arbitrarily select mail deposited in this Repository that is either ready immediately for delivery, or is younger than it's last_updated plus the number of failed attempts times the delay time. |
Mail |
SpoolRepository.accept(SpoolRepository.AcceptFilter filter)
Returns an arbitrarily select mail deposited in this Repository for which the supplied filter's accept method returns true. |
Mail |
MailRepository.retrieve(String key)
Retrieves a message given a key. |
Methods in org.apache.james.services with parameters of type Mail | |
void |
MailRepository.store(Mail mc)
Stores a message in this repository. |
void |
MailRepository.remove(Mail mail)
Removes a specified message |
void |
MailServer.sendMail(Mail mail)
Pass a Mail to this MailServer for processing |
Uses of Mail in org.apache.james.smtpserver |
Methods in org.apache.james.smtpserver that return Mail | |
Mail |
SMTPSession.getMail()
Returns Mail object for message handlers to process |
Mail |
SMTPHandler.getMail()
|
Methods in org.apache.james.smtpserver with parameters of type Mail | |
void |
SMTPSession.setMail(Mail mail)
Sets the MailImpl object for further processing |
void |
SMTPHandler.setMail(Mail mail)
|
Uses of Mail in org.apache.james.transport |
Methods in org.apache.james.transport with parameters of type Mail | |
void |
LinearProcessor.service(Mail mail)
Processes a single mail message through the chain of matchers and mailets. |
protected void |
JamesSpoolManager.process(Mail mail)
Process this mail message by the appropriate processor as designated in the state of the Mail object. |
Uses of Mail in org.apache.james.transport.mailets |
Methods in org.apache.james.transport.mailets with parameters of type Mail | |
void |
SetMimeHeader.service(Mail mail)
Takes the message and adds a header to it. |
void |
ToRepository.service(Mail mail)
Store a mail in a particular repository. |
void |
LocalDelivery.service(Mail mail)
Delivers a mail to a local mailbox. |
void |
GenericListserv.service(Mail mail)
Processes the message. |
void |
UseHeaderRecipients.service(Mail mail)
Process an incoming email, removing the currently identified recipients and replacing them with the recipients indicated in the Mail-For, To and Cc headers of the actual email. |
protected MailAddress |
Bounce.getReversePath(Mail originalMail)
|
void |
Bounce.service(Mail originalMail)
Service does the hard work,and redirects the originalMail in the form specified. |
void |
AbstractVirtualUserTable.service(Mail mail)
Checks the recipient list of the email for user mappings. |
void |
ToMultiRepository.service(Mail mail)
Delivers a mail to a local mailbox. |
void |
AbstractAddFooter.service(Mail mail)
Takes the message and attaches a footer message to it. |
void |
AddHabeasWarrantMark.service(Mail mail)
Called by the mailet container to allow the mailet to process to a message message. |
protected MailAddress |
Redirect.getReversePath(Mail originalMail)
|
void |
Null.service(Mail mail)
Set this mail to GHOST state, indicating that no further processing should take place. |
void |
PostmasterAlias.service(Mail mail)
Make sure that a message that is addressed to a postmaster alias is always sent to the postmaster address, regardless of delivery to other recipients. |
void |
ToProcessor.service(Mail mail)
Deliver a mail to the processor. |
void |
RemoveMailAttribute.service(Mail mail)
Remove the configured attributes |
void |
ICommandListservManager.onError(Mail mail,
String subject,
String errorMessage)
An error occurred, send some sort of message to the sender |
void |
RemoveAllMailAttributes.service(Mail mail)
Removes all attributes on the Mail |
protected boolean |
AbstractRedirect.getPassThrough(Mail originalMail)
Gets the passThrough property,
built dynamically using the original Mail object.
|
protected boolean |
AbstractRedirect.getFakeDomainCheck(Mail originalMail)
Gets the fakeDomainCheck property,
built dynamically using the original Mail object.
|
protected int |
AbstractRedirect.getInLineType(Mail originalMail)
Gets the inline property,
built dynamically using the original Mail object.
|
protected int |
AbstractRedirect.getAttachmentType(Mail originalMail)
Gets the attachment property,
built dynamically using the original Mail object.
|
protected String |
AbstractRedirect.getMessage(Mail originalMail)
Gets the message property,
built dynamically using the original Mail object.
|
protected Collection |
AbstractRedirect.getRecipients(Mail originalMail)
Gets the recipients property,
built dynamically using the original Mail object.
|
protected void |
AbstractRedirect.setRecipients(Mail newMail,
Collection recipients,
Mail originalMail)
Sets the recipients of newMail to recipients. |
protected InternetAddress[] |
AbstractRedirect.getTo(Mail originalMail)
Gets the to property,
built dynamically using the original Mail object.
|
protected void |
AbstractRedirect.setTo(Mail newMail,
InternetAddress[] to,
Mail originalMail)
Sets the "To:" header of newMail to to. |
protected MailAddress |
AbstractRedirect.getReplyTo(Mail originalMail)
Gets the replyTo property,
built dynamically using the original Mail object.
|
protected void |
AbstractRedirect.setReplyTo(Mail newMail,
MailAddress replyTo,
Mail originalMail)
Sets the "Reply-To:" header of newMail to replyTo. |
protected MailAddress |
AbstractRedirect.getReversePath(Mail originalMail)
Gets the reversePath property,
built dynamically using the original Mail object.
|
protected void |
AbstractRedirect.setReversePath(MailImpl newMail,
MailAddress reversePath,
Mail originalMail)
Sets the "reverse-path" of newMail to reversePath. |
protected MailAddress |
AbstractRedirect.getSender(Mail originalMail)
Gets the sender property,
built dynamically using the original Mail object.
|
protected void |
AbstractRedirect.setSender(Mail newMail,
MailAddress sender,
Mail originalMail)
Sets the "From:" header of newMail to sender. |
protected String |
AbstractRedirect.getSubject(Mail originalMail)
Gets the subject property,
built dynamically using the original Mail object.
|
protected String |
AbstractRedirect.getSubjectPrefix(Mail originalMail)
Gets the subjectPrefix property,
built dynamically using the original Mail object.
|
protected void |
AbstractRedirect.setSubjectPrefix(Mail newMail,
String subjectPrefix,
Mail originalMail)
Builds the subject of newMail appending the subject of originalMail to subjectPrefix. |
protected boolean |
AbstractRedirect.attachError(Mail originalMail)
Gets the attachError property,
built dynamically using the original Mail object.
|
protected boolean |
AbstractRedirect.isReply(Mail originalMail)
Gets the isReply property,
built dynamically using the original Mail object.
|
protected void |
AbstractRedirect.setIsReply(Mail newMail,
boolean isReply,
Mail originalMail)
Sets the "In-Reply-To:" header of newMail to the "Message-Id:" of originalMail, if isReply is true. |
void |
AbstractRedirect.service(Mail originalMail)
Service does the hard work,and redirects the originalMail in the form specified. |
protected void |
AbstractRedirect.buildAlteredMessage(Mail newMail,
Mail originalMail)
Builds the message of the newMail in case it has to be altered. |
protected boolean |
AbstractRedirect.senderDomainIsValid(Mail mail)
Checks if a sender domain of mail is valid. |
protected Collection |
AbstractRedirect.replaceMailAddresses(Mail mail,
Collection list)
Returns a new Collection built over list replacing special addresses with real MailAddress -es. |
protected Collection |
AbstractRedirect.replaceInternetAddresses(Mail mail,
Collection list)
Returns a new Collection built over list replacing special addresses with real InternetAddress -es. |
void |
LogMessage.service(Mail genericmail)
Log a particular message |
void |
BayesianAnalysisFeeder.service(Mail mail)
Scans the mail and updates the token frequencies in the database. |
void |
ClamAVScan.service(Mail mail)
Scans the mail. |
void |
CommandListservManager.onError(Mail mail,
String subject,
String errorMessage)
An error occurred, send some sort of message |
void |
CommandListservManager.service(Mail mail)
Called by the mailet container to allow the mailet to process a message. |
void |
FromRepository.service(Mail trigger)
Spool mail from a particular repository. |
void |
BayesianAnalysis.service(Mail mail)
Scans the mail and determines the spam probability. |
void |
CommandListservProcessor.service(Mail mail)
A message was sent to the list serv. |
protected void |
CommandListservProcessor.addFooter(Mail mail)
Add the footer using CommandListservFooter |
protected MimeMessage |
CommandListservProcessor.prepareListMessage(Mail mail,
MailAddress listservAddr)
Create a new message with some set headers |
protected boolean |
CommandListservProcessor.checkBeenThere(MailAddress listservAddr,
Mail mail)
return true if this is ok, false otherwise Check if the X-been-there header is set to the listserv's name (the address). |
protected boolean |
CommandListservProcessor.checkAnnouncements(Mail mail)
Returns true if this is ok to send to the list |
protected boolean |
CommandListservProcessor.checkMembers(Collection members,
Mail mail)
Returns true if this user is ok to send to the list |
protected boolean |
CommandListservProcessor.checkAllowedPoster(Mail mail,
Collection members)
Returns true if this user is ok to send to the list |
void |
SetMailAttribute.service(Mail mail)
Sets the configured attributes |
void |
JDBCAlias.service(Mail mail)
|
void |
RemoteDelivery.service(Mail mail)
For this message, we take the list of recipients, organize these into distinct servers, and duplicate the message for each of these servers, and then call the deliver (messagecontainer) method for each server-specific messagecontainer ... that will handle storing it in the outgoing queue if needed. |
void |
UsersRepositoryAliasingForwarding.service(Mail mail)
Delivers a mail to a local mailbox. |
void |
GenericListservManager.service(Mail mail)
Processes the message. |
void |
DSNBounce.service(Mail originalMail)
Service does the hard work and bounces the originalMail in the format specified by RFC3464. |
protected MimeBodyPart |
DSNBounce.createTextMsg(Mail originalMail)
Create a MimeBodyPart with a textual description for human readers. |
protected MimeBodyPart |
DSNBounce.createDSN(Mail originalMail)
creates the DSN-bodypart for automated processing |
protected MimeBodyPart |
DSNBounce.createAttachedOriginal(Mail originalMail,
int attachmentType)
Create a MimeBodyPart with the original Mail as Attachment |
protected String |
DSNBounce.newName(Mail mail)
Create a unique new primary key name. |
protected MailAddress |
DSNBounce.getReversePath(Mail originalMail)
|
protected String |
AbstractNotify.getMessage(Mail originalMail)
|
protected MailAddress |
AbstractNotify.getReversePath(Mail originalMail)
|
protected void |
AbstractNotify.setSubjectPrefix(Mail newMail,
String subjectPrefix,
Mail originalMail)
Builds the subject of newMail appending the subject of originalMail to subjectPrefix, but avoiding a duplicate. |
void |
ServerTime.service(Mail mail)
Sends a message back to the sender indicating what time the server thinks it is. |
void |
WhiteListManager.service(Mail mail)
Services the mailet. |
Uses of Mail in org.apache.james.transport.mailets.debug |
Methods in org.apache.james.transport.mailets.debug with parameters of type Mail | |
void |
Counter.service(Mail mail)
Count processed mails, marking each mail as completed after counting. |
void |
DumpSystemErr.service(Mail mail)
Writes the message to System.err . |
void |
Identity.service(Mail mail)
Do nothing. |
void |
ExceptionThrowingMailet.service(Mail mail)
Throw an exception if any mail is processed. |
Uses of Mail in org.apache.james.transport.mailets.listservcommands |
Methods in org.apache.james.transport.mailets.listservcommands with parameters of type Mail | |
void |
Subscribe.onCommand(Mail mail)
After ensuring that the user isn't already subscribed, confirmation mail will be sent to be processed by SubscribeConfirm . |
protected boolean |
Subscribe.checkSubscriptionStatus(Mail mail)
Checks to see if this user is already subscribed, if so return false and send a message |
void |
ErrorCommand.onCommand(Mail mail)
Delegate to ErrorCommand.onError(org.apache.mailet.Mail, java.lang.String, java.lang.String) |
void |
ErrorCommand.onError(Mail mail,
String subject,
String errorMessage)
An error occurred, send a message with the following text resources: ErrorCommand.HEADER
ErrorCommand.ERROR
ErrorCommand.ADMIN_COMMANDS
|
protected void |
BaseCommand.sendStandardReply(Mail origMail,
String subject,
String message,
String replyAddress)
Produces a standard response replyAddress to the sender |
void |
SubscribeConfirm.onCommand(Mail mail)
After ensuring that the user isn't already subscribed, add the user to the mailing list, and send a welcome message. |
protected boolean |
SubscribeConfirm.checkSubscriptionStatus(Mail mail)
Checks to see if this user is already subscribed, if so return false and send a message |
void |
IListServCommand.onCommand(Mail mail)
Process this command to your hearts content |
void |
Info.onCommand(Mail mail)
Process the info command using the following text resources: Info.HEADER
Info.INFO
Info.ADMIN_COMMANDS
|
void |
UnSubscribeConfirm.onCommand(Mail mail)
After ensuring that the user is currently subscribed, remove the user to the mailing list, and send a goodbye message. |
protected boolean |
UnSubscribeConfirm.checkSubscriptionStatus(Mail mail)
Checks to see that this user is already subscribed, if not return false and send a message |
void |
Owner.onCommand(Mail mail)
Process this command to your hearts content |
void |
UnSubscribe.onCommand(Mail mail)
After ensuring that the user is currently subscribed, confirmation mail will be sent to be processed by UnSubscribeConfirm . |
protected boolean |
UnSubscribe.checkSubscriptionStatus(Mail mail)
Checks to see that this user is already subscribed, if not return false and send a message |
Uses of Mail in org.apache.james.transport.mailets.smime |
Methods in org.apache.james.transport.mailets.smime with parameters of type Mail | |
void |
SMIMEDecrypt.service(Mail mail)
|
void |
SMIMEAbstractSign.service(Mail mail)
Service does the hard work, and signs |
protected boolean |
SMIMEAbstractSign.isOkToSign(Mail mail)
Checks if the mail can be signed. |
protected abstract MimeBodyPart |
SMIMEAbstractSign.getWrapperBodyPart(Mail mail)
Creates the MimeBodyPart that will be signed.
|
protected boolean |
SMIMEAbstractSign.fromAddressSameAsReverse(Mail mail)
Utility method that checks if there is at least one address in the "From:" header same as the reverse-path. |
void |
SMIMECheckSignature.service(Mail mail)
|
protected MimeBodyPart |
SMIMESign.getWrapperBodyPart(Mail mail)
A text file with the massaged contents of SMIMESign.getExplanationText()
is attached to the original message. |
Uses of Mail in org.apache.james.transport.matchers |
Methods in org.apache.james.transport.matchers with parameters of type Mail | |
Collection |
HasMailAttributeWithValueRegex.match(Mail mail)
|
Collection |
InSpammerBlacklist.match(Mail mail)
|
Collection |
IsSingleRecipient.match(Mail mail)
|
Collection |
All.match(Mail mail)
|
Collection |
RemoteAddrNotInNetwork.match(Mail mail)
|
Collection |
SMTPAuthUserIs.match(Mail mail)
|
Collection |
SubjectStartsWith.match(Mail mail)
|
Collection |
AttachmentFileNameIs.match(Mail mail)
Either every recipient is matching or neither of them. |
Collection |
SizeGreaterThan.match(Mail mail)
|
Collection |
HasAttachment.match(Mail mail)
Either every recipient is matching or neither of them. |
Collection |
SenderIs.match(Mail mail)
|
Collection |
RemoteAddrInNetwork.match(Mail mail)
|
Collection |
IsInWhiteList.match(Mail mail)
|
protected long |
AbstractStorageQuota.getUsed(MailAddress recipient,
Mail _)
Gets the storage used in the recipient's inbox. |
Collection |
RelayLimit.match(Mail mail)
|
Collection |
SenderInFakeDomain.match(Mail mail)
|
Collection |
HasHabeasWarrantMark.match(Mail mail)
|
Collection |
HasHeader.match(Mail mail)
|
Collection |
HasMailAttributeWithValue.match(Mail mail)
Answers the recipients of the mail if the attribute is present, and has a toString() value equal to the configured value. |
Collection |
SubjectIs.match(Mail mail)
|
Collection |
GenericRegexMatcher.match(Mail mail)
|
Collection |
HasMailAttribute.match(Mail mail)
|
Collection |
SenderHostIs.match(Mail mail)
Takes the message and checks the sender (if there is one) against the vector of host names. |
Collection |
CompareNumericHeaderValue.match(Mail mail)
|
Collection |
SenderIsRegex.match(Mail mail)
|
Collection |
FetchedFrom.match(Mail mail)
|
protected long |
RecipientIsOverFixedQuota.getQuota(MailAddress recipient,
Mail _)
|
Collection |
SMTPAuthSuccessful.match(Mail mail)
|
Collection |
AbstractQuotaMatcher.match(Mail mail)
Standard matcher entrypoint. |
protected boolean |
AbstractQuotaMatcher.isOverQuota(MailAddress address,
Mail mail)
Does the quota check. |
protected abstract long |
AbstractQuotaMatcher.getQuota(MailAddress address,
Mail mail)
Gets the quota to check against. |
protected abstract long |
AbstractQuotaMatcher.getUsed(MailAddress address,
Mail mail)
Gets the used amount to check against the quota. |
Collection |
SenderIsNull.match(Mail mail)
|
Uses of Mail in org.apache.james.transport.matchers.smime |
Methods in org.apache.james.transport.matchers.smime with parameters of type Mail | |
Collection |
IsSMIMEEncrypted.match(Mail mail)
|
Collection |
IsX509CertificateSubject.match(Mail mail)
|
Collection |
IsSMIMESigned.match(Mail mail)
|
Uses of Mail in org.apache.mailet |
Methods in org.apache.mailet with parameters of type Mail | |
Collection |
GenericRecipientMatcher.match(Mail mail)
Matches each recipient one by one through matchRecipient(MailAddress recipient) method. |
Collection |
Matcher.match(Mail mail)
Takes a Mail message, looks at any pertinent information, and then returns a subset of recipients that meet the "match" conditions. |
abstract void |
GenericMailet.service(Mail mail)
Called by the mailet container to allow the mailet to process a message. |
abstract Collection |
GenericMatcher.match(Mail mail)
Called by the matcher container to allow the matcher to process a message. |
void |
MailetContext.bounce(Mail mail,
String message)
Bounces the message using a standard format with the given message. |
void |
MailetContext.bounce(Mail mail,
String message,
MailAddress bouncer)
Bounces the email message using the provided email address as the sender of the bounce. |
void |
MailetContext.sendMail(Mail mail)
Send an outgoing message to the top of this mailet container's root queue. |
void |
Mailet.service(Mail mail)
Called by the mailet container to allow the mailet to process to a message. |
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |