Update maillog.go

pull/2968/head
KAndrey387 2023-09-09 17:06:27 +03:00 committed by GitHub
parent ac9e6a7190
commit 5d25a513e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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)
} }