mirror of
				https://github.com/bjdgyc/anylink.git
				synced 2025-11-01 00:59:34 +08:00 
			
		
		
		
	修复邮件 STARTTLS 协议
This commit is contained in:
		| @@ -73,7 +73,7 @@ func SendMail(subject, to, htmlBody string) error { | ||||
| 	// - PLAIN (default) | ||||
| 	// - LOGIN | ||||
| 	// - CRAM-MD5 | ||||
| 	server.Authentication = mail.AuthPlain | ||||
| 	server.Authentication = mail.AuthAuto | ||||
|  | ||||
| 	// Variable to keep alive connection | ||||
| 	server.KeepAlive = false | ||||
|   | ||||
		Reference in New Issue
	
	Block a user