gophish/lib/mailer.go

10 lines
152 B
Go
Raw Normal View History

package main
import (
"net/smtp"
)
func Send(email Email, server Server) {
auth = smtp.PlainAuth("", server.User, server.Password, server.Server)
}