소스 검색

Update email.go

Updated Send signature
Jordan Wright 11 년 전
부모
커밋
673d03c68d
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      email.go

+ 2 - 1
email.go

@@ -4,6 +4,7 @@ package email
 
 import (
 	"net/mail"
+	"net/smtp"
 )
 
 //Email is the type used for email messages
@@ -20,7 +21,7 @@ type Email struct {
 }
 
 //Send an email using the given host and SMTP auth (optional)
-func (e Email) Send() {
+func (e Email) Send(addr string, a Auth, e Email) {
 
 }