<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<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>a1b2c3d4-e5f6-7890-abcd-ef1234567890</Id>
  <Version>1.0.0.0</Version>
  <ProviderName>MyTempFile</ProviderName>
  <DefaultLocale>en-US</DefaultLocale>
  <DisplayName DefaultValue="MyTempFile" />
  <Description DefaultValue="Share files securely with self-destructing links instead of attachments." />
  <IconUrl DefaultValue="https://i.pinimg.com/736x/61/91/3f/61913f3ffad86746a84a03dabcafdc8c.jpg" />
  <HighResolutionIconUrl DefaultValue="https://play-lh.googleusercontent.com/yyYIKYIPCrr1qgLzkX0DoPGG2gbBDPCxN5kjwBDLK4-CIf-x46Fprm3qmE9aH7uVuA" />
  <SupportUrl DefaultValue="https://mytempfile.com/help" />

  <AppDomains>
    <AppDomain>https://mytempfile.com</AppDomain>
  </AppDomains>

  <Hosts>
    <Host Name="Mailbox" />
  </Hosts>

  <Requirements>
    <Sets>
      <Set Name="Mailbox" MinVersion="1.1" />
    </Sets>
  </Requirements>

  <FormSettings>
    <Form xsi:type="ItemEdit">
      <DesktopSettings>
        <SourceLocation DefaultValue="https://mytempfile.com/outlook/compose" />
      </DesktopSettings>
    </Form>
  </FormSettings>

  <Permissions>ReadWriteItem</Permissions>
  <Rule xsi:type="RuleCollection" Mode="Or">
    <Rule xsi:type="ItemIs" ItemType="Message" FormType="Edit" />
  </Rule>

  <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>
          <ExtensionPoint xsi:type="MessageComposeCommandSurface">
            <OfficeTab id="TabDefault">
              <Group id="mytempfileGroup">
                <Label resid="GroupLabel" />
                <Control xsi:type="Button" id="mytempfileUploadBtn">
                  <Label resid="BtnLabel" />
                  <Supertip>
                    <Title resid="BtnLabel" />
                    <Description resid="BtnTooltip" />
                  </Supertip>
                  <Icon>
                    <bt:Image size="16" resid="Icon16" />
                    <bt:Image size="32" resid="Icon32" />
                    <bt:Image size="80" resid="Icon80" />
                  </Icon>
                  <Action xsi:type="ShowTaskpane">
                    <SourceLocation resid="TaskpaneUrl" />
                  </Action>
                </Control>
              </Group>
            </OfficeTab>
          </ExtensionPoint>
        </DesktopFormFactor>
      </Host>
    </Hosts>
    <Resources>
      <bt:Images>
        <bt:Image id="Icon16" DefaultValue="https://www.small-icons.com/packs/16x16-free-application-icons.png" />
        <bt:Image id="Icon32" DefaultValue="https://upload.wikimedia.org/wikipedia/commons/thumb/9/94/Microsoft_Office_Outlook_%282013%E2%80%932019%29.svg/1280px-Microsoft_Office_Outlook_%282013%E2%80%932019%29.svg.png" />
        <bt:Image id="Icon80" DefaultValue="https://files.softicons.com/download/system-icons/assembly-line-computer-icons-by-kngzero/ico/kx2-outlook-express.ico" />
      </bt:Images>
      <bt:Urls>
        <bt:Url id="TaskpaneUrl" DefaultValue="https://mytempfile.com/outlook/compose" />
      </bt:Urls>
      <bt:ShortStrings>
        <bt:String id="GroupLabel" DefaultValue="MyTempFile" />
        <bt:String id="BtnLabel" DefaultValue="Share File" />
      </bt:ShortStrings>
      <bt:LongStrings>
        <bt:String id="BtnTooltip" DefaultValue="Upload a file to MyTempFile and insert a secure, self-destructing download link into your email." />
      </bt:LongStrings>
    </Resources>
  </VersionOverrides>
</OfficeApp>
