smtpauthentication.java
来自「公司CRM部分原代码,采用的是java技术.」· Java 代码 · 共 31 行
JAVA
31 行
// Decompiled by Jad v1.5.7g. Copyright 2000 Pavel Kouznetsov.
// Jad home page: http://www.geocities.com/SiliconValley/Bridge/8617/jad.html
// Decompiler options: packimports(3) fieldsfirst ansi
// Source File Name: SendMail.java
package GDPE.customer.enterprise;
import javax.mail.Authenticator;
import javax.mail.PasswordAuthentication;
// Referenced classes of package com.bestsoftway.util:
// SendMail
public class SmtpAuthentication extends Authenticator
{
private String password;
private String username;
public PasswordAuthentication getPasswordAuthentication()
{
return new PasswordAuthentication(username, password);
}
public SmtpAuthentication(String username, String password)
{
this.username = username;
this.password = password;
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?