﻿<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">
  <!--Addin_Id_Start-->
	<Id>D0590B2A-0CB8-4B4F-AD70-C520AFA6E3FC</Id>
	<!--Addin_Id_End-->
  <Version>2026.1001.3</Version>
  <ProviderName>Secure Exchanges</ProviderName>
  <DefaultLocale>en-us</DefaultLocale>
  <!--DisplayName_start-->
  <DisplayName DefaultValue="Secure Exchanges"/>
 <!--DisplayName_end-->
  <Description DefaultValue="This is the Outlook add-in version of Secure Exchanges. If you want to know more about us and learn about Secure Exchanges, please go to https://www.secure-exchanges.com/Why-Secure-Exchanges.aspx">
    <Override Locale="fr-CA" Value="Ceci est la version du complÃ©ment Outlook de Secure Exchanges. Si vous souhaitez en savoir plus sur nous et dÃ©couvrir Secure Exchanges, veuillez vous rendre sur https://www.secure-exchanges.com/Pourquoi-Secure-Exchanges.aspx" />
  </Description>
  <!--Icon64_Start--><IconUrl DefaultValue="https://office365.secure-exchanges.com/Images/icon64.png"/>
	<HighResolutionIconUrl DefaultValue="https://office365.secure-exchanges.com/Images/icon128.png"/>
	<SupportUrl DefaultValue="https://www.secure-exchanges.com/Accueil.aspx" /><!--Icon64_End-->
  <AppDomains>
    <!--Domain_Start--><AppDomain>https://office365.secure-exchanges.com</AppDomain><!--Domain_End-->
    <AppDomain>https://login.microsoftonline.com</AppDomain>
  </AppDomains>
  <Hosts>
    <Host Name="Mailbox" />
  </Hosts>
  <Requirements>
    <Sets DefaultMinVersion="1.13">
      <Set Name="Mailbox" />
    </Sets>
  </Requirements>
  <FormSettings>
    <Form xsi:type="ItemEdit">
      <DesktopSettings>
        <!--Source_Start--><SourceLocation DefaultValue="https://office365.secure-exchanges.com/Main.html"/><!--Source_End-->
      </DesktopSettings>
    </Form>
  </FormSettings>
  <Permissions>ReadWriteMailbox</Permissions>
  <Rule xsi:type="RuleCollection" Mode="Or">
    <Rule xsi:type="ItemIs" ItemType="Message" FormType="Edit" />
    <Rule xsi:type="ItemIs" ItemType="Appointment" FormType="Edit" />
  </Rule>
  <VersionOverrides xmlns="http://schemas.microsoft.com/office/mailappversionoverrides" xsi:type="VersionOverridesV1_0">
    <VersionOverrides xmlns="http://schemas.microsoft.com/office/mailappversionoverrides/1.1" xsi:type="VersionOverridesV1_1">
      <Description resid="residAppDescription" />
      <Requirements>
        <bt:Sets DefaultMinVersion="1.13">
          <bt:Set Name="Mailbox" />
        </bt:Sets>
      </Requirements>
      <Hosts>
        <Host xsi:type="MailHost">
          <Runtimes>
            <Runtime resid="residUILessFunctionFileUrl">
              <Override type="javascript" resid="residUILessFunctionFileUrl" />
            </Runtime>
          </Runtimes>
          <DesktopFormFactor>
            <!--  The functionfile and function name to call on message send.   -->
            <!--  In this particular case the function validateBody will be called within the JavaScript code referenced in residUILessFunctionFileUrl.  -->
            <SupportsSharedFolders>true</SupportsSharedFolders>
            <FunctionFile resid="residUILessFunctionFileUrl" />
            <ExtensionPoint xsi:type="MessageComposeCommandSurface">
              <OfficeTab id="TabDefault">
                <Group id="msgSubjectGroup">
                  <Label resid="subjectLabel" />
                  <!--   Launch the add-in : task pane button   -->
                  <Control xsi:type="Button" id="msgSubjectOpenButton">
                    <Label resid="paneSubjectButtonLabel" />
                    <Supertip>
                      <Title resid="paneSubjectSuperTipTitle" />
                      <Description resid="paneSubjectSuperTipDescription" />
                    </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="addAttachementPage" />
                      <SupportsPinning>true</SupportsPinning>
                    </Action>
                  </Control>
                </Group>
              </OfficeTab>
            </ExtensionPoint>
            <ExtensionPoint xsi:type="MessageReadCommandSurface">
              <OfficeTab id="TestReadTab">
                <Group id="TestReadGrouo">
                  <Label resid="subjectLabel" />
                  <Control xsi:type="Button" id="TestReadControle">
                    <Label resid="paneSubjectButtonLabel" />
                    <Supertip>
                      <Title resid="notificationsSuperTipTitle" />
                      <Description resid="paneSubjectSuperTipDescription" />
                    </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="sendNotification" />
                      <SupportsPinning>true</SupportsPinning>
                    </Action>
                  </Control>
                </Group>
              </OfficeTab>
            </ExtensionPoint>
            <ExtensionPoint xsi:type="DetectedEntity">
              <Label resid="paneLicenceButtonLabel" />
              <SourceLocation resid="activateLicence" />
              <Rule xsi:type="ItemHasRegularExpressionMatch" RegExName="digits" RegExValue="(Activate your license|Activer votre licence)" PropertyName="BodyAsPlaintext" />
            </ExtensionPoint>
            <ExtensionPoint xsi:type="Events">
              <Event Type="ItemSend" FunctionExecution="synchronous" FunctionName="onSendHandler" />
            </ExtensionPoint>
            <ExtensionPoint xsi:type="LaunchEvent">
              <LaunchEvents>
                <LaunchEvent Type="OnMessageAttachmentsChanged" FunctionName="onMessageAttachmentsChangedHandler" />
                <LaunchEvent Type="OnMessageFromChanged" FunctionName="onFromChanged" />
                <LaunchEvent Type="OnNewMessageCompose" FunctionName="onNewMessageCompose" />
              </LaunchEvents>
              <SourceLocation resid="residUILessFunctionFileUrl" />
            </ExtensionPoint>
          </DesktopFormFactor>
        </Host>
      </Hosts>
      <Resources>
        <!--Resources_Start--><bt:Images>
<bt:Image id="icon16" DefaultValue="https://office365.secure-exchanges.com/Images/icon16.png"/>
<bt:Image id="icon32" DefaultValue="https://office365.secure-exchanges.com/Images/icon32.png"/>
<bt:Image id="icon80" DefaultValue="https://office365.secure-exchanges.com/Images/icon80.png"/>
</bt:Images>
<bt:Urls>
<bt:Url id="residUILessFunctionFileUrl" DefaultValue="https://office365.secure-exchanges.com/Main.html"/>
<bt:Url id="addAttachementPage" DefaultValue="https://office365.secure-exchanges.com/AjoutFichier.html"/>
<bt:Url id="activateLicence" DefaultValue="https://office365.secure-exchanges.com/ActivateLicence.html"/>
<bt:Url id="sendNotification" DefaultValue="https://office365.secure-exchanges.com/SendMessageNotification.html"/>
</bt:Urls><!--Resources_End-->
        <bt:ShortStrings>
          <bt:String id="subjectLabel" DefaultValue="Test" />
          <!--  Attachment Button  -->
          <bt:String id="paneSubjectButtonLabel" DefaultValue="Attach Files">
            <bt:Override Locale="fr-ca" Value="Joindre des fichiers" />
          </bt:String>
          <bt:String id="paneSubjectSuperTipTitle" DefaultValue="Shows pane to attach your files with Secure Exchanges">
            <bt:Override Locale="fr-ca" Value="Affiche une fenÃªtre pour joindre vos fichiers avec Secure Exchanges" />
          </bt:String>
          <!-- Activate licence -->
          <bt:String id="paneLicenceButtonLabel" DefaultValue="Activate Licence">
            <bt:Override Locale="fr-ca" Value="Activation de la licence" />
          </bt:String>
          <bt:String id="paneLicenceSuperTipTitle" DefaultValue="Activate Secure Exchanges Licence">
            <bt:Override Locale="fr-ca" Value="Activation de la licence" />
          </bt:String>
          <!-- Notifiactions-->
          <bt:String id="notificationsSuperTipTitle" DefaultValue="Shows pane of the Secure Exchanges notifications">
            <bt:Override Locale="fr-ca" Value="Affiche une fenÃªtre pour les notifications de Secure Exchanges" />
          </bt:String>
        </bt:ShortStrings>
        <bt:LongStrings>
          <bt:String id="paneSubjectSuperTipDescription" DefaultValue="Default description" />
        </bt:LongStrings>
      </Resources>
      <WebApplicationInfo>
        <!--WebApplicationInfo_Resources_Start-->
				<Id>67c419b0-9735-4bc6-bdbf-ba1d3a69890f</Id>
				<Resource>api://office365.secure-exchanges.com/67c419b0-9735-4bc6-bdbf-ba1d3a69890f</Resource>
				<!--WebApplicationInfo_Resources_End-->
        <Scopes>
          <Scope>Contacts.Read</Scope>
          <Scope>Contacts.Read.Shared</Scope>
          <Scope>email</Scope>
          <Scope>Mail.ReadBasic</Scope>
          <Scope>Mail.ReadWrite</Scope>
          <Scope>Mail.ReadWrite.Shared</Scope>
          <Scope>Mail.Send</Scope>
          <Scope>Mail.Send.Shared</Scope>
          <Scope>MailboxSettings.Read</Scope>
          <Scope>offline_access</Scope>
          <Scope>openid</Scope>
          <Scope>profile</Scope>
          <Scope>User.Read</Scope>
          <Scope>User.Read.All</Scope>
          <Scope>User.ReadBasic.All</Scope>
        </Scopes>
      </WebApplicationInfo>
    </VersionOverrides>
  </VersionOverrides>
</OfficeApp>