All Projects → farmerx → mail

farmerx / mail

Licence: other
golang send mail with SSL,TLS and support NTLM,LOGIN,PLAIN AUTH...

Programming Languages

go
31211 projects - #10 most used programming language

Projects that are alternatives of or similar to mail

smtplib-bruteforce
bruteforcing gmail (TLS/SSL)
Stars: ✭ 26 (-10.34%)
Mutual labels:  ssl, mail
Excision-Mail
Fullstack, security focused mailserver based on OpenSMTPD for OpenBSD using ansible
Stars: ✭ 108 (+272.41%)
Mutual labels:  ssl, mail
Docker Mailserver
Production-ready fullstack but simple mail server (SMTP, IMAP, LDAP, Antispam, Antivirus, etc.) running inside a container.
Stars: ✭ 8,115 (+27882.76%)
Mutual labels:  ssl, mail
ssl-date-checker
Nodejs Library to check and report on the start and expiration date of a given SSL certificate for a given domain.
Stars: ✭ 21 (-27.59%)
Mutual labels:  ssl
XAsyncSockets
XAsyncSockets is an efficient Python/MicroPython library of managed asynchronous sockets.
Stars: ✭ 28 (-3.45%)
Mutual labels:  ssl
cloudflared
Cloudflare Tunnel Instructions and Template for Unraid
Stars: ✭ 129 (+344.83%)
Mutual labels:  ssl
ssl-handshake
A command-line tool for testing SSL/TLS handshake latency, written in Go.
Stars: ✭ 41 (+41.38%)
Mutual labels:  ssl
DPP
C++ Discord API Bot Library - D++ is Lightweight and scalable for small and huge bots!
Stars: ✭ 560 (+1831.03%)
Mutual labels:  ssl
ronin-support
A support library for Ronin. Like activesupport, but for hacking!
Stars: ✭ 23 (-20.69%)
Mutual labels:  ssl
Android-Email-App-using-Javamail-Api
An Android App to send mail without gamil/email interaction!
Stars: ✭ 19 (-34.48%)
Mutual labels:  mail
sendcloud
SendCloud Mail SDK
Stars: ✭ 21 (-27.59%)
Mutual labels:  mail
jruby-openssl
JRuby's OpenSSL gem
Stars: ✭ 39 (+34.48%)
Mutual labels:  ssl
terraform-aws-acm-request-certificate
Terraform module to request an ACM certificate for a domain name and create a CNAME record in the DNS zone to complete certificate validation
Stars: ✭ 83 (+186.21%)
Mutual labels:  ssl
LiveProxies
Asynchronous proxy checker
Stars: ✭ 17 (-41.38%)
Mutual labels:  ssl
Mail
The Hoa\Mail library.
Stars: ✭ 24 (-17.24%)
Mutual labels:  mail
RabbitSSL
Example Java, Spring-Boot and Python RabbitMQ SSL configuration
Stars: ✭ 21 (-27.59%)
Mutual labels:  ssl
boost-wintls
Native Windows TLS stream wrapper for use with boost::asio
Stars: ✭ 24 (-17.24%)
Mutual labels:  ssl
nimssl
Nimssl is a Nim wrapper for the OpenSSL library
Stars: ✭ 18 (-37.93%)
Mutual labels:  ssl
httpsify
a transparent HTTPS termination proxy using letsencrypt with auto certification renewal
Stars: ✭ 107 (+268.97%)
Mutual labels:  ssl
Swiddler
TCP/UDP debugging tool.
Stars: ✭ 56 (+93.1%)
Mutual labels:  ssl

Mail 【golang send mail package】

 Mail: send mail support AUTH:

  • LOGIN : mail.LoginAuth(email.Username, email.Password)
  • CRAM-MD5: smtp.CRAMMD5Auth(email.Username, email.Password)
  • PLAIN : smtp.PlainAuth(email.Identity, email.Username, email.Password, email.Host)
  • NTLM: mail.NTLMAuth(email.Host, email.Username, email.Password, mail.NTLMVersion1) # mail.NTLMVersion2 也支持

Mail: send mail support Secure:

  • SSL
  • TLS
  • 非安全加密

Mail: Use github.com/farmerx/mail

email := NewEMail(`{"port":25}`)
email.From = `[email protected]`
email.Host = `smtp.163.com`
email.Port = int(25) // [587 NTLM AUTH] [465,994]
email.Username = `Farmerx`
email.Secure = `` // SSL,TSL
email.Password = `************`
authType := `LOGIN`
switch authType {
case ``:
	email.Auth = nil
case `LOGIN`:
	email.Auth = LoginAuth(email.Username, email.Password)
case `CRAM-MD5`:
	email.Auth = smtp.CRAMMD5Auth(email.Username, email.Password)
case `PLAIN`:
	email.Auth = smtp.PlainAuth(email.Identity, email.Username, email.Password, email.Host)
case `NTLM`:
	email.Auth = NTLMAuth(email.Host, email.Username, email.Password, NTLMVersion1)
default:
	email.Auth = smtp.PlainAuth(email.Identity, email.Username, email.Password, email.Host)
}

email.To = []string{`[email protected]`}
email.Subject = `send mail success`
email.Text = "尊敬的用户:\r\n   您好,附件中是您订阅的报表,请注意查收。"
//email.AttachFile(reportFile)
if err := email.Send(); err != nil {
      fmt.Println(err)
}

回首向来潇洒处, 归去. 也无风雨也无晴

 

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].