删除多余的代码
This commit is contained in:
		
							parent
							
								
									b7c7e6c062
								
							
						
					
					
						commit
						62db6c82ec
					
				@ -5,7 +5,6 @@ import (
 | 
			
		||||
	"encoding/base64"
 | 
			
		||||
	"fmt"
 | 
			
		||||
	"io"
 | 
			
		||||
	"net/smtp"
 | 
			
		||||
	"strings"
 | 
			
		||||
 | 
			
		||||
	"apigo.cc/gojs"
 | 
			
		||||
@ -221,7 +220,7 @@ func (obj *Object) Send(vm *goja.Runtime, to []string, subject, content string,
 | 
			
		||||
			InsecureSkipVerify: false,
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
	conn.Auth = smtp.PlainAuth("", obj.username, obj.password, obj.smtpHost)
 | 
			
		||||
	// conn.Auth = smtp.PlainAuth("", obj.username, obj.password, obj.smtpHost)
 | 
			
		||||
 | 
			
		||||
	err := conn.DialAndSend(msg)
 | 
			
		||||
	if err != nil {
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user