Java邮件 开发详解,从邮件发送的原理到java编写邮件的应用,一步步的详细讲解。
2023-10-13 11:09:39 11.99MB Java邮件 mail
1
2011年4月最新教程 张孝祥 Java 邮件开发详解 张老师最新绝密课件 不可错过~~~!!!
2023-03-02 15:15:52 535KB 张孝祥 Java 邮件开发详解
1
进行java邮件开发的必备jar包,javamail.jar和jaf.jar,必须同时导入项目,因为javamail.jar依赖于外部的jar包jaf.jar,否则会出错。
2022-12-30 19:13:52 3.01MB java邮件开发必备jar包
1
Java邮件开发详解-张孝祥 ppt Java邮件开发详解-张孝祥 ppt Java邮件开发详解-张孝祥 ppt
2022-10-08 01:14:39 535KB
1
张孝祥Java邮件开发详解
2022-07-28 11:52:32 107.53MB Java
1
java邮件开发经典教程,可以熟悉邮件基本协议,掌握邮件开发必备的工具书之一。
2022-01-01 01:40:19 110.33MB java
1
JAVA项目:Java邮件开发教程
2021-08-06 12:11:36 144.62MB JAVA项目
1
这是一个基于Java语言的邮件开发的源代码系统,需要的朋友可以下载哈!
1
Java开发邮件系统,此系统能实现邮件的收发删除等
2021-06-12 15:08:11 15.08MB Java 邮件开发系统
1
/* * JCatalog Project */ package com.hexiang.utils; import java.util.List; import java.util.ArrayList; import java.util.Date; import java.util.Iterator; import java.util.Properties; import javax.mail.Session; import javax.mail.Transport; import javax.mail.Message; import javax.mail.internet.InternetAddress; import javax.mail.internet.MimeMessage; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import com.hexiang.exception.CatalogException; /** * Utility class to send email. * * @author hexiang */ public class EmailUtil { //the logger for this class private static Log logger = LogFactory.getLog("com.hexiang.util.EmailUtil"); /** * Send email to a single recipient. * * @param smtpHost the SMTP email server address * @param senderAddress the sender email address * @param senderName the sender name * @param receiverAddress the recipient email address * @param sub the subject of the email * @param msg the message content of the email */ public static void sendEmail(String smtpHost, String senderAddress, String senderName, String receiverAddress, String sub, String msg) throws CatalogException { List recipients = new ArrayList(); recipients.add(receiverAddress); sendEmail(smtpHost, senderAddress, senderName, recipients, sub, msg); } /** * Send email to a list of recipients. * * @param smtpHost the SMTP email server address * @param senderAddress the sender email address * @param senderName the sender name * @param recipients a list of receipients email addresses * @param sub the subject of the email * @param msg the message content of the email */ public static void sendEmail(String smtpHost, String senderAddress, String senderName, List recipients, String sub, String msg) throws CatalogException { if (smtpHost == null) { String errMsg = "Could not send email: smtp host address is null"; logger.error(e
1