public class BulkMailer extends Object
| Constructor and Description |
|---|
BulkMailer() |
| Modifier and Type | Method and Description |
|---|---|
static BulkMailer |
getInstance() |
static void |
initialize(DataSource ds,
SmtpTransport t) |
static void |
main(String[] args) |
void |
scanMailRun()
This does a single mail scanning run.
|
void |
store(Connection dbc,
Message m)
This stores the message into the database.
|
void |
store(Message m)
This stores the message into the database.
|
void |
store(QDataContext dc,
Message m)
This stores the message into the database.
|
public static BulkMailer getInstance()
public static void initialize(DataSource ds, SmtpTransport t) throws Exception
Exceptionpublic void store(@Nonnull Message m) throws Exception
m - Exceptionpublic void store(@Nonnull QDataContext dc, @Nonnull Message m) throws Exception
dc - m - Exceptionpublic void store(@Nonnull Connection dbc, @Nonnull Message m) throws Exception
m - Exceptionpublic void scanMailRun()
public static void main(String[] args)
args - Copyright © 2017 etc.to. All rights reserved.