Skip to content

Commit

Permalink
fixed spf result
Browse files Browse the repository at this point in the history
  • Loading branch information
alash3al committed Jun 6, 2020
1 parent 236f5f1 commit b2c4cb9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ func main() {
return errors.New("Cannot read your message: " + err.Error())
}

_, spfResultStr, _ := c.SPF()
spfResult, _, _ := c.SPF()

req := resty.New().R()

Expand All @@ -36,7 +36,7 @@ func main() {
"addresses[in-reply-to]": strings.Join(msg.InReplyTo, ","),
"addresses[cc]": strings.Join(extractEmails(msg.Cc), ","),
"addresses[bcc]": strings.Join(extractEmails(msg.Bcc), ","),
"spf_result": strings.ToLower(spfResultStr),
"spf_result": strings.ToLower(spfResult.String()),
})

// set the files "attachments"
Expand Down

0 comments on commit b2c4cb9

Please sign in to comment.