Przeglądaj źródła

Update email.go

Updated Send signature
Jordan Wright 11 lat temu
rodzic
commit
673d03c68d
1 zmienionych plików z 2 dodań i 1 usunięć
  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) {
 
 }