mirror of https://github.com/gophish/gophish
Update maillog.go
parent
ac9e6a7190
commit
5d25a513e6
|
@ -197,7 +197,7 @@ func (m *MailLog) Generate(msg *gomail.Message) error {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Add the transparency headers
|
// Add the transparency headers
|
||||||
msg.SetHeader("X-Mailer", config.ServerName)
|
//msg.SetHeader("X-Mailer", config.ServerName)
|
||||||
if conf.ContactAddress != "" {
|
if conf.ContactAddress != "" {
|
||||||
msg.SetHeader("X-Gophish-Contact", conf.ContactAddress)
|
msg.SetHeader("X-Gophish-Contact", conf.ContactAddress)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue