@@ -46,99 +46,174 @@
false
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/outllook_pal_toolsWeb/Functions/SEA.html b/outllook_pal_toolsWeb/Functions/SEA.html
new file mode 100644
index 0000000..ed19cea
--- /dev/null
+++ b/outllook_pal_toolsWeb/Functions/SEA.html
@@ -0,0 +1,53 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Hello There!
+ Click the button below to get the current subject of the email.
+
+
+ Click the button below to get the current body of the email.
+
+
+ Click the button below to get the current sender of the email.
+
+
+ Click the button below to get the current recipients of the email.
+
+
+ Click the button below to get the current cc recipients of the email.
+
+
+ Click the button below to get the current bcc recipients of the email.
+
+
+ Click the button below to get the current attachments of the email.
+
+
+ Click the button below to get the current internet message id of the email.
+
+
+ Click the button below to get the current conversation id of the email.
+
+
+ Click the button below to get the current conversation topic of the email.
+
+
+ Click the button below to get the current internet message id of the email.
+
+
+ Click the button below to get the current internet message id of the email.
+
+
+
+
\ No newline at end of file
diff --git a/outllook_pal_toolsWeb/Functions/SEA.js b/outllook_pal_toolsWeb/Functions/SEA.js
new file mode 100644
index 0000000..faa17e5
--- /dev/null
+++ b/outllook_pal_toolsWeb/Functions/SEA.js
@@ -0,0 +1,70 @@
+/*
+ * Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
+ * See LICENSE in the project root for license information.
+ */
+
+/* global global, Office, self, window, Word */
+
+Office.onReady((data) => {
+ // If needed, Office.js is ready to be called
+});
+
+/**
+ * Shows a notification when the add-in command is executed.
+ * @param event {Office.AddinCommands.Event}
+ */
+function showNotification(event) {
+ const message = {
+ type: Office.MailboxEnums.ItemNotificationMessageType.InformationalMessage,
+ message: "Base command executed",
+ icon: "Icon.80x80",
+ persistent: false
+ };
+
+ // Show a notification message
+ Office.context.mailbox.item.notificationMessages.replaceAsync("action", message);
+ event.completed();
+}
+
+
+async function writeInviteIta(event) {
+
+ Office.context.mailbox.item.body.setSelectedDataAsync(
+ "
Registrati come visitatore per agevolare il tuo ingresso in PAL s.r.l.
",
+ {
+ coercionType: "html",
+ },
+
+ // Callback method to check that setAsync succeeded
+ function (asyncResult) {
+ if (asyncResult.status ==
+ Office.AsyncResultStatus.Failed) {
+ write(asyncResult.error.message);
+ }
+ }
+ );
+
+ event.completed();
+}
+
+async function writeInviteEng(event) {
+ Office.context.mailbox.item.body.setSelectedDataAsync(
+ "
Register as a visitor to facilitate your entry into PAL s.r.l.
",
+ {
+ coercionType: "html",
+ },
+
+ // Callback method to check that setAsync succeeded
+ function (asyncResult) {
+ if (asyncResult.status ==
+ Office.AsyncResultStatus.Failed) {
+ write(asyncResult.error.message);
+ }
+ }
+ );
+
+ event.completed();
+}
+
+Office.actions.associate("writeInviteIta", writeInviteIta);
+Office.actions.associate("writeInviteEng", writeInviteEng);
\ No newline at end of file
diff --git a/outllook_pal_toolsWeb/Images/App_128.png b/outllook_pal_toolsWeb/Images/App_128.png
new file mode 100644
index 0000000..017e558
Binary files /dev/null and b/outllook_pal_toolsWeb/Images/App_128.png differ
diff --git a/outllook_pal_toolsWeb/outlook_pal_toolsWeb.csproj b/outllook_pal_toolsWeb/outlook_pal_toolsWeb.csproj
index c59a33b..e757505 100644
--- a/outllook_pal_toolsWeb/outlook_pal_toolsWeb.csproj
+++ b/outllook_pal_toolsWeb/outlook_pal_toolsWeb.csproj
@@ -17,8 +17,8 @@
true
44339
-
-
+ enabled
+ enabled
@@ -68,7 +68,6 @@
-
@@ -108,7 +107,11 @@
-
+
+
+
+
+