All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.zj.dreamly.mail.entity.MailConnectionConfig Maven / Gradle / Ivy

There is a newer version: 1.0.0-beta.6
Show newest version
package com.github.zj.dreamly.mail.entity;

import com.github.zj.dreamly.mail.enums.ProxyTypeEnum;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 

MailConnectionConfig

* * @author: 苍海之南 * @since: 2019-09-04 16:57 **/ @Data @NoArgsConstructor @AllArgsConstructor @Builder public class MailConnectionConfig { /** * 邮箱 */ private String email; /** * 密码 */ private String password; /** * 服务器地址 */ private String host; /** * 端口号 */ private Integer port; /** * 是否使用加密方式传输 */ private boolean ssl; /** * 代理类型 */ private ProxyTypeEnum proxyType; /** * HTTP代理地址 */ private String proxyHost; /** * HTTP代理端口 */ private Integer proxyPort; /** * HTTP代理用户名 */ private String proxyUsername; /** * HTTP代理密码 */ private String proxyPassword; /** * Socks代理端口 */ private String socksProxyHost; /** * socks代理端口 */ private Integer socksProxyPort; public MailConnectionConfig(String email, String password, String host, Integer port) { this.email = email; this.password = password; this.host = host; this.port = port; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy