用Java 實現發送郵件功能

記錄一下最近實現的 用Java 發送郵件的功能,我是用QQ郵箱 1.首先需要 兩個jar 包   public class MailTest3 { public static void main(String[] args) { // 收件人電子郵箱 String to = "[email protected]"; // 發件人電子郵箱 String fro
相關文章
相關標籤/搜索