PlexBulkMailer
The PlexBulkMailer Component accepts an email request for multiple recipients
and then sends the underlying email message to each identified recipient.
The component employs a threaded model and enables multiple SMTP servers
to be configured to increase system throughput during bulk email processing.
The Bulk Email component can be used for any bulk emailings.
Accept a list of recipients and a standard message.
Accept a list of recipients and custom messages for each.
Accept a list of recipients, a corresponding xml file for each recipient,
and a standard xsl template
Java Docs
Java Docs API
Price
$399.95
Download
You need JRE 1.4 or newer to use this software. The latest version of JRE
can be download from http://java.sun.com/j2se/
Usage
import com.plexobject.mail.bulk.*;
import java.util.*;
import java.io.*;
import java.net.*;
import javax.mail.*;
import javax.mail.internet.*;
import javax.activation.*;
import javax.mail.event.*;
public class BulkTester {
//
public static void main(String[] args) throws Exception {
String from = "from@somehost.com";
String[] to = new String[] {"sm@msn.com", "asdf@yahoo.com"};
BulkEmailer bm = new BulkEmailer(new File(args[0]), -1);
bm.sendTextMessage(from, to, "subject " +
new Date(), "message text" +
new Date(), null, true);
//bm.sendTextMessage(from, to, "subject", "message text", null, false);
System.out.println("Sent completed");
}
}
|
|