Uses of Class
org.apache.mailet.MailAddress

Packages that use MailAddress
org.apache.james   
org.apache.james.core Implementations of core James services and concepts. 
org.apache.james.fetchmail   
org.apache.james.services A set of interfaces for commonly used, generic James concepts. 
org.apache.james.transport.mailets Core mailets for use with the Mailet API. 
org.apache.james.transport.matchers Core matchers for use with the Mailet API. 
org.apache.james.userrepository Implementations of user repositories for use in James. 
org.apache.mailet The classes that constitute the Mailet API. 
 

Uses of MailAddress in org.apache.james
 

Methods in org.apache.james that return MailAddress
 MailAddress James.getPostmaster()
          Returns the address of the postmaster for this server.
 

Methods in org.apache.james with parameters of type MailAddress
 void James.bounce(Mail mail, java.lang.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.
 void James.sendMail(MailAddress sender, java.util.Collection recipients, java.io.InputStream msg)
          Place a mail on the spool for processing
 void James.sendMail(MailAddress sender, java.util.Collection recipients, javax.mail.internet.MimeMessage message)
          Place a mail on the spool for processing
 void James.sendMail(MailAddress sender, java.util.Collection recipients, javax.mail.internet.MimeMessage message, java.lang.String state)
          Place a mail on the spool for processing
 void James.storeMail(MailAddress sender, MailAddress recipient, javax.mail.internet.MimeMessage msg)
          Deprecated. since 2.2.0 look at the LocalDelivery code to find out how to do the local delivery.
 

Uses of MailAddress in org.apache.james.core
 

Methods in org.apache.james.core that return MailAddress
 MailAddress MailImpl.getSender()
          Get the sender of this MailImpl.
 

Methods in org.apache.james.core with parameters of type MailAddress
 void MailImpl.setSender(MailAddress sender)
          Set the sender of this MailImpl.
 

Constructors in org.apache.james.core with parameters of type MailAddress
MailImpl(java.lang.String name, MailAddress sender, java.util.Collection recipients)
          A constructor that creates a MailImpl with the specified name, sender, and recipients.
MailImpl(java.lang.String name, MailAddress sender, java.util.Collection recipients, java.io.InputStream messageIn)
          A constructor that creates a MailImpl with the specified name, sender, recipients, and message data.
MailImpl(java.lang.String name, MailAddress sender, java.util.Collection recipients, javax.mail.internet.MimeMessage message)
          A constructor that creates a MailImpl with the specified name, sender, recipients, and MimeMessage.
 

Uses of MailAddress in org.apache.james.fetchmail
 

Methods in org.apache.james.fetchmail that return MailAddress
protected  MailAddress MessageProcessor.getIntendedRecipient()
          Method getIntendedRecipient answers the sole intended recipient else null.
protected  MailAddress ProcessorAbstract.getRecipient()
          Returns the recipient.
protected  MailAddress MessageProcessor.getSender()
           Method getSender answers a MailAddress for the sender.
 

Methods in org.apache.james.fetchmail with parameters of type MailAddress
protected  Mail MessageProcessor.createMail(javax.mail.internet.MimeMessage message, MailAddress recipient)
          Method createMail creates a new Mail.
protected  boolean MessageProcessor.isBlacklistedRecipient(MailAddress recipient)
          Method isBlacklistedRecipient.
protected  boolean MessageProcessor.isLocalRecipient(MailAddress recipient)
          Method isLocalRecipient.
protected  boolean MessageProcessor.isLocalServer(MailAddress recipient)
          Method isLocalServer.
protected  boolean MessageProcessor.isLocalUser(MailAddress recipient)
          Method isLocalUser.
protected  void MessageProcessor.rejectBlacklistedRecipient(MailAddress recipient)
          Method rejectBlacklistedRecipient.
protected  void MessageProcessor.rejectRemoteRecipient(MailAddress recipient)
          Method rejectRemoteRecipient.
protected  void MessageProcessor.rejectUserUndefined(MailAddress recipient)
          Method rejectUserUndefined.
 

Uses of MailAddress in org.apache.james.services
 

Methods in org.apache.james.services that return MailAddress
 MailAddress JamesUser.getForwardingDestination()
          Return the destination to which email should be forwarded
 

Methods in org.apache.james.services with parameters of type MailAddress
 void MailServer.sendMail(MailAddress sender, java.util.Collection recipients, java.io.InputStream msg)
          Deprecated. You can use MailetContext service for this purpose
 void MailServer.sendMail(MailAddress sender, java.util.Collection recipients, javax.mail.internet.MimeMessage msg)
          Deprecated. You can use MailetContext service for this purpose
 boolean JamesUser.setForwardingDestination(MailAddress address)
          Set destination for forwading mail TODO: Should we use a MailAddress?
 

Uses of MailAddress in org.apache.james.transport.mailets
 

Fields in org.apache.james.transport.mailets declared as MailAddress
static MailAddress AbstractRedirect.SpecialAddress.DELETE
           
static MailAddress AbstractRedirect.SpecialAddress.FROM
           
protected  MailAddress CommandListservProcessor.listOwner
          The list owner specified by the config param: 'listOwner'.
protected  MailAddress JDBCListserv.listservAddress
           
static MailAddress AbstractRedirect.SpecialAddress.NULL
           
static MailAddress AbstractRedirect.SpecialAddress.RECIPIENTS
           
static MailAddress AbstractRedirect.SpecialAddress.REPLY_TO
           
static MailAddress AbstractRedirect.SpecialAddress.REVERSE_PATH
           
static MailAddress AbstractRedirect.SpecialAddress.SENDER
           
static MailAddress AbstractRedirect.SpecialAddress.TO
           
static MailAddress AbstractRedirect.SpecialAddress.UNALTERED
           
 

Methods in org.apache.james.transport.mailets that return MailAddress
 MailAddress JDBCListserv.getListservAddress()
          The email address that this listserv processes on.
 MailAddress GenericListserv.getListservAddress()
          The email address that this listserv processes on.
protected  MailAddress Forward.getReplyTo()
           
protected  MailAddress AbstractRedirect.getReplyTo()
          Gets the replyto property.
protected  MailAddress AbstractNotify.getReplyTo()
           
protected  MailAddress AbstractRedirect.getReplyTo(Mail originalMail)
          Gets the replyTo property, built dynamically using the original Mail object.
protected  MailAddress Redirect.getReversePath()
           
protected  MailAddress Forward.getReversePath()
           
protected  MailAddress AbstractRedirect.getReversePath()
          Gets the reversePath property.
protected  MailAddress Redirect.getReversePath(Mail originalMail)
           
protected  MailAddress DSNBounce.getReversePath(Mail originalMail)
           
protected  MailAddress Bounce.getReversePath(Mail originalMail)
           
protected  MailAddress AbstractRedirect.getReversePath(Mail originalMail)
          Gets the reversePath property, built dynamically using the original Mail object.
protected  MailAddress AbstractNotify.getReversePath(Mail originalMail)
           
protected  MailAddress Forward.getSender()
           
protected  MailAddress AbstractRedirect.getSender()
          Gets the sender property.
protected  MailAddress AbstractNotify.getSender()
           
protected  MailAddress AbstractRedirect.getSender(Mail originalMail)
          Gets the sender property, built dynamically using the original Mail object.
protected  MailAddress AbstractRedirect.getSpecialAddress(java.lang.String addressString, java.lang.String[] allowedSpecials)
          Returns the AbstractRedirect.SpecialAddress that corresponds to an init parameter value.
 

Methods in org.apache.james.transport.mailets with parameters of type MailAddress
abstract  boolean GenericListservManager.addAddress(MailAddress address)
          Adds an address to the listserv.
 boolean AvalonListservManager.addAddress(MailAddress address)
          Add an address to the list.
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).
abstract  boolean GenericListservManager.existsAddress(MailAddress address)
          Indicates whether an address already exists on the listserv.
 boolean AvalonListservManager.existsAddress(MailAddress address)
           
protected  java.lang.String CommandListservManager.getCommandName(MailAddress mailAddress)
          Get the name of the command
 IListServCommand ICommandListservManager.getCommandTarget(MailAddress mailAddress)
          Based on the to address get a valid or command or null
 IListServCommand CommandListservManager.getCommandTarget(MailAddress mailAddress)
          Based on the to address get a valid or command or null
protected  javax.mail.internet.MimeMessage CommandListservProcessor.prepareListMessage(Mail mail, MailAddress listservAddr)
          Create a new message with some set headers
 java.lang.String UsersRepositoryAliasingForwarding.processMail(MailAddress sender, MailAddress recipient, javax.mail.internet.MimeMessage message)
          Return null when the mail should be GHOSTed, the username string when it should be changed due to the ignoreUser configuration.
abstract  boolean GenericListservManager.removeAddress(MailAddress address)
          Removes an address from the listserv.
 boolean AvalonListservManager.removeAddress(MailAddress address)
          Remove an address from the list.
protected  void AbstractRedirect.setReplyTo(Mail newMail, MailAddress replyTo, Mail originalMail)
          Sets the "Reply-To:" header of newMail to replyTo.
protected  void AbstractRedirect.setReversePath(MailImpl newMail, MailAddress reversePath, Mail originalMail)
          Sets the "reverse-path" of newMail to reversePath.
protected  void AbstractRedirect.setSender(Mail newMail, MailAddress sender, Mail originalMail)
          Sets the "From:" header of newMail to sender.
 void ToMultiRepository.storeMail(MailAddress sender, MailAddress recipient, javax.mail.internet.MimeMessage message)
           
 

Uses of MailAddress in org.apache.james.transport.matchers
 

Methods in org.apache.james.transport.matchers with parameters of type MailAddress
protected  long RecipientIsOverFixedQuota.getQuota(MailAddress recipient, Mail _)
           
protected abstract  long AbstractQuotaMatcher.getQuota(MailAddress address, Mail mail)
          Gets the quota to check against.
protected  long AbstractStorageQuota.getUsed(MailAddress recipient, Mail _)
          Gets the storage used in the recipient's inbox.
protected abstract  long AbstractQuotaMatcher.getUsed(MailAddress address, Mail mail)
          Gets the used amount to check against the quota.
protected  boolean AbstractQuotaMatcher.isOverQuota(MailAddress address, Mail mail)
          Does the quota check.
protected  boolean AbstractStorageQuota.isRecipientChecked(MailAddress recipient)
          Checks the recipient.
protected  boolean AbstractQuotaMatcher.isRecipientChecked(MailAddress recipient)
          Checks the recipient.
protected  boolean AbstractQuotaMatcher.isSenderChecked(MailAddress sender)
          Checks the sender.
 boolean UserIs.matchRecipient(MailAddress recipient)
           
 boolean RecipientIsRegex.matchRecipient(MailAddress recipient)
           
 boolean RecipientIsLocal.matchRecipient(MailAddress recipient)
           
 boolean RecipientIs.matchRecipient(MailAddress recipient)
           
 boolean HostIsLocal.matchRecipient(MailAddress recipient)
           
 boolean HostIs.matchRecipient(MailAddress recipient)
           
 boolean CommandListservMatcher.matchRecipient(MailAddress recipient)
          This doesn't perform an exact match, but checks to see if the request is at lesast intended to go to the list serv manager.
 boolean CommandForListserv.matchRecipient(MailAddress recipient)
           
 

Uses of MailAddress in org.apache.james.userrepository
 

Methods in org.apache.james.userrepository that return MailAddress
 MailAddress DefaultJamesUser.getForwardingDestination()
          Get the destination address to which mail to this user will be forwarded.
 

Methods in org.apache.james.userrepository with parameters of type MailAddress
 boolean DefaultJamesUser.setForwardingDestination(MailAddress address)
          Set the destination address to which mail to this user will be forwarded.
 

Uses of MailAddress in org.apache.mailet
 

Methods in org.apache.mailet that return MailAddress
 MailAddress MailetContext.getPostmaster()
          Returns the postmaster's address for this mailet context.
 MailAddress Mail.getSender()
          The sender of the message, as specified by the MAIL FROM header, or internally defined
 

Methods in org.apache.mailet with parameters of type MailAddress
 void MailetContext.bounce(Mail mail, java.lang.String message, MailAddress bouncer)
          Bounces the email message using the provided email address as the sender of the bounce.
abstract  boolean GenericRecipientMatcher.matchRecipient(MailAddress recipient)
          Simple check to match exclusively on the email address (not message information).
 void MailetContext.sendMail(MailAddress sender, java.util.Collection recipients, javax.mail.internet.MimeMessage msg)
          Send an outgoing message to the top of this mailet container's root queue.
 void MailetContext.sendMail(MailAddress sender, java.util.Collection recipients, javax.mail.internet.MimeMessage msg, java.lang.String state)
          Send an outgoing message to the top of this mailet container queue for the appropriate processor that is specified.
 void MailetContext.storeMail(MailAddress sender, MailAddress recipient, javax.mail.internet.MimeMessage msg)
          Deprecated. - use sparingly. Service will be replaced with resource acquired via JNDI.
 



Copyright © 2002-2007 The Apache Software Foundation. All Rights Reserved.