mirror of https://github.com/gophish/gophish
Removing debug line
parent
1e3a02673c
commit
b03d986d67
|
@ -217,7 +217,6 @@ func SendTestEmail(s *models.SendTestEmailRequest) error {
|
||||||
e.To = []string{s.Email}
|
e.To = []string{s.Email}
|
||||||
// Attach the files
|
// Attach the files
|
||||||
for _, a := range s.Template.Attachments {
|
for _, a := range s.Template.Attachments {
|
||||||
Logger.Printf("Attaching %s\n", a.Name)
|
|
||||||
decoder := base64.NewDecoder(base64.StdEncoding, strings.NewReader(a.Content))
|
decoder := base64.NewDecoder(base64.StdEncoding, strings.NewReader(a.Content))
|
||||||
_, err = e.Attach(decoder, a.Name, a.Type)
|
_, err = e.Attach(decoder, a.Name, a.Type)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
Loading…
Reference in New Issue