| |
|
| java.lang.Object org.apache.mailet.GenericMailet org.apache.james.transport.mailets.JDBCAlias
JDBCAlias | public class JDBCAlias extends GenericMailet (Code) | | Rewrites recipient addresses based on a database table. The connection
is configured by passing the URL to a conn definition. You need to set
the table name to check (or view) along with the source and target columns
to use. For example,
<mailet match="All" class="JDBCAlias">
<mappings>db://maildb/Aliases</mappings>
<source_column>source_email_address</source_column>
<target_column>target_email_address</target_column>
</mailet>
|
datasource | protected DataSourceComponent datasource(Code) | | |
getMailetInfo | public String getMailetInfo()(Code) | | Return a string describing this mailet.
a string describing this mailet |
init | public void init() throws MessagingException(Code) | | Initialize the mailet
|
service | public void service(Mail mail) throws MessagingException(Code) | | |
|
|
|