// Set E-Mail body. You can set plain text or html with text/html - The IF/Else checks if the email is an escalation of URL og File hash search
// Set E-Mail body. - The IF/Else checks if the email is an escalation of URL og File hash search
ifhash==""{
ifhash==""{
email_body=fmt.Sprintf("Your email has been escalated to manual analysis\n Details:\n URL: %s\n RequestLink: %s\n Do not reply to this email\n\n Further contact will be made from this email address",url,result)
email_body=fmt.Sprintf("Your email has been escalated to manual analysis\n Details:\n URL: %s\n RequestLink: %s\n Do not reply to this email\n\n Further contact will be made from this email address",url,result)
}else{
}else{
email_body=fmt.Sprintf("Your email has been escalated to manual analysis\n Details:\n File hash: %s\n RequestLink: %s\n Do not reply to this email\n\n Further contact will be made from this email address",hash,result)
email_body=fmt.Sprintf("Your email has been escalated to manual analysis\n Details:\n File hash: %s\n RequestLink: %s\n Do not reply to this email\n\n Further contact will be made from this email address",hash,result)
}
}
m.SetBody("text/plain",email_body)
m.SetBody("text/plain",email_body)//Set body to type text.