<?xml version="1.0" encoding="UTF-8"?>
<OfficeApp xmlns="http://schemas.microsoft.com/office/appforoffice/1.1"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xmlns:bt="http://schemas.microsoft.com/office/officeappbasictypes/1.0"
  xmlns:mailappor="http://schemas.microsoft.com/office/mailappversionoverrides/1.0"
  xsi:type="MailApp">
  <Id>1dc49c67-4b74-4cbc-1f4f-59c5dc1fb32c</Id>
  <Version>1.0.1.0</Version>
  <ProviderName>PhishFoil</ProviderName>
  <DefaultLocale>en-US</DefaultLocale>
  <DisplayName DefaultValue="PhishFoil — Report to Admin"/>
  <Description DefaultValue="Adds a Report to Admin button to Outlook so staff can report a suspicious or simulated phishing email to your security team."/>
  <IconUrl DefaultValue="https://demo.thephishfoil.com/outlook/icon32.png"/>
  <HighResolutionIconUrl DefaultValue="https://demo.thephishfoil.com/outlook/icon80.png"/>
  <SupportUrl DefaultValue="https://demo.thephishfoil.com/"/>
  <AppDomains>
    <AppDomain>https://demo.thephishfoil.com</AppDomain>
  </AppDomains>
  <Hosts>
    <Host Name="Mailbox"/>
  </Hosts>
  <Requirements>
    <Sets>
      <Set Name="Mailbox" MinVersion="1.3"/>
    </Sets>
  </Requirements>
  <FormSettings>
    <Form xsi:type="ItemRead">
      <DesktopSettings>
        <SourceLocation DefaultValue="https://demo.thephishfoil.com/outlook/commands.html"/>
        <RequestedHeight>250</RequestedHeight>
      </DesktopSettings>
    </Form>
  </FormSettings>
  <Permissions>ReadWriteItem</Permissions>
  <Rule xsi:type="RuleCollection" Mode="Or">
    <Rule xsi:type="ItemIs" ItemType="Message" FormType="Read"/>
  </Rule>
  <DisableEntityHighlighting>false</DisableEntityHighlighting>
  <VersionOverrides xmlns="http://schemas.microsoft.com/office/mailappversionoverrides" xsi:type="VersionOverridesV1_0">
    <Requirements>
      <bt:Sets DefaultMinVersion="1.3">
        <bt:Set Name="Mailbox"/>
      </bt:Sets>
    </Requirements>
    <Hosts>
      <Host xsi:type="MailHost">
        <DesktopFormFactor>
          <FunctionFile resid="functionFile"/>
          <ExtensionPoint xsi:type="MessageReadCommandSurface">
            <OfficeTab id="TabDefault">
              <Group id="phishfoilGroup">
                <Label resid="groupLabel"/>
                <Control xsi:type="Button" id="reportButton">
                  <Label resid="btnLabel"/>
                  <Supertip>
                    <Title resid="btnLabel"/>
                    <Description resid="btnTipLong"/>
                  </Supertip>
                  <Icon>
                    <bt:Image size="16" resid="icon16"/>
                    <bt:Image size="32" resid="icon32"/>
                    <bt:Image size="80" resid="icon80"/>
                  </Icon>
                  <Action xsi:type="ExecuteFunction">
                    <FunctionName>reportPhishing</FunctionName>
                  </Action>
                </Control>
              </Group>
            </OfficeTab>
          </ExtensionPoint>
        </DesktopFormFactor>
      </Host>
    </Hosts>
    <Resources>
      <bt:Images>
        <bt:Image id="icon16" DefaultValue="https://demo.thephishfoil.com/outlook/icon16.png"/>
        <bt:Image id="icon32" DefaultValue="https://demo.thephishfoil.com/outlook/icon32.png"/>
        <bt:Image id="icon80" DefaultValue="https://demo.thephishfoil.com/outlook/icon80.png"/>
      </bt:Images>
      <bt:Urls>
        <bt:Url id="functionFile" DefaultValue="https://demo.thephishfoil.com/outlook/commands.html?v=2"/>
      </bt:Urls>
      <bt:ShortStrings>
        <bt:String id="groupLabel" DefaultValue="PhishFoil"/>
        <bt:String id="btnLabel" DefaultValue="Report to Admin"/>
        <bt:String id="btnTip" DefaultValue="Report this email to your admin / security team."/>
      </bt:ShortStrings>
      <bt:LongStrings>
        <bt:String id="btnTipLong" DefaultValue="Report this email as suspicious or a simulated phishing test to your security team."/>
      </bt:LongStrings>
    </Resources>
  </VersionOverrides>
</OfficeApp>