Other: Ensure SMTP debug dump works on windows

This commit is contained in:
James Houlahan 2023-01-20 13:33:14 +01:00
parent c3e4bb80a8
commit 0e4ec8a8b8
1 changed files with 1 additions and 1 deletions

View File

@ -44,5 +44,5 @@ func debugDumpToDisk(b []byte) error {
}
func getFileName() string {
return time.Now().Format(time.RFC3339Nano) + "_smtp_debug.eml"
return fmt.Sprintf("smtp_debug_%v.eml", time.Now().Unix())
}