Administrator
2023-04-14 cc0cbfc79a34e1b106fdb998450cd2ad03446126
提交 | 用户 | 时间
58d006 1 package com.mandi.common.mail;
A 2
3 import javax.mail.Authenticator;
4 import javax.mail.PasswordAuthentication;
5
6 public class Ma extends Authenticator{
7     public static final String userName = "mlyong108@126.com";
8     public static final String passWord = "menglingyong";
9     @Override
10     protected PasswordAuthentication getPasswordAuthentication() {
11         return new PasswordAuthentication(userName, passWord);
12     }
13 }