We are importing our admin email notifications into salesnexus and they will not go through because they have an html attachment. They are set up to be plain text - so I am not sure why they are adding the attachment. We even added this code
add_action("gform_notification_format", "set_notification_format", 10, 4);
function set_notification_format($format, $notification_type, $form, $lead){
if($notification_type == "admin")
return "text"; //setting admin notifications as text
else
return "html"; //setting user notifications as text
}
to our functions.php file. Can you tell me how to get rid of the attachment?