The Triggers are invoked before an AS2 MDN receipt is sent, before a file is uploaded to Shared Drive, or before a Secure Mail Message is sent. The Trigger calls the Project and supplies the Project with a variable containing a list of files that will be sent. When the Project executes, the Project sends each attachment to the ICAP server. If a file is found to contain viruses, inappropriate content, or restricted content, the ICAP server returns an HTTP error response to the Project, and the Project's ICAP task will error. The ICAP task will then call the Project's Deny Trigger Module which executes the Deny Trigger Event task. The Deny Trigger Event task reports the reason for the failure to the Trigger, and the Trigger either prohibits Shared Drive uploads and Secure Mail messages, or reports an error on an AS2 MDN receipt.