Java邮件群发器
Java邮件群发器
功能说明:
1、批量循环发送邮件
2、发送HTML文件,待发送的邮件以htm的格式存放,可以是网络上的htm文件,可以是本地的htm文件
3、可以指定发送附件的目录,系统会加载指定目录的全部附件一起发送
4、发送邮件以txt文件保存,每行保存一个邮件地址
5、可以指定已经发送了的邮件地址列表,以免邮件重发
6、可以指定发送邮件是采用什么样的编码
7、可以指定发送邮件的服务器,但是有些邮件服务器不支持,最好是自己拱建邮件服务器,个人推荐Magic WinMail
8、可以指定每封邮件发送的间隔时间,避免被接收邮件服务器认为是垃圾邮件
9、可以指定将发送成功的邮件保存到哪个文件中
10、可以指定将发送失败的邮件保存到哪个文件中
11、可以指定哪些邮件服务提供商的邮件不发送,如qq.com等,过滤比较严格,发送不成功
12、用户可以实现Handler,对发送的内容进行特殊处理,例如根据每封邮件获取对应的收件人名称等。
详细配置见mail-config.xml,其中有完整实例
环境要求:JDK6、邮件服务器(个人推荐Magic WinMail)
编译环境:Eclipse
下载地址:http://download.csdn.net/source/1915641
相关文档:
Java学习从入门到精通
一、 JDK (Java Development Kit)
JDK是整个Java的核心,包括了Java运行环境(Java Runtime Envirnment),一堆Java工具和Java基础的类库(rt.jar)。不论什么Java应用服务器实质都是内置了某个版本的JDK。因此掌握JDK是学好Java的第一步。最主流的J ......
from Rxtx
This page is for general content regarding the use of rxtx. Feel free to add your own content.
Using RXTX In Eclipse
Deploying JAVA with RXTX
I wrote an app several months ago using javax.comm on windows. Sun has left me high and dry. rxtx help!
download ftp://ftp.qbang.org/pub/rx ......
1. 字符串有整型的相互转换
Java代码
String a = String.valueOf(2); //integer to numeric string
int i = Integer.parseInt(a); //numeric string to an int
2. 向文件末尾添加内容
Java代码
BufferedWriter out = null;
try {
out = new BufferedWriter(new FileWr ......
package com.xxx.yyy;
public class kkkEncode
{
public native static boolean encode(double loIn, double laIn, double[] point); //声明一个同库一样的方法
public native static boolean decode(double loIn, double laIn, double[] p ......
/*
* EncryptUtils.java
* Copyright (C) 2007-3-19 <JustinLei@gmail.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* ......