|
|
|
@@ -36,7 +36,12 @@ namespace jdis_import |
|
|
|
private static bool _newMachine = false;
|
|
|
|
private static bool _quoted = false;
|
|
|
|
public static string ExeDir { get { return _exeDir; } }
|
|
|
|
private static Dictionary<string, string> _keys = new Dictionary<string, string>() { { "SecretV", "up-8Q~y46~JyQZjJlsAJ-zpXpglpmuPIJ1Gx3a2O" }, { "SecretID", "cba04a6c-a233-4646-909b-b50921edbe1c" }, { "ObjectId", "c7647074-edb6-4e8e-8a01-a1ed924fdae9" }, { "TenentID", "1fd06c96-d3a4-45e9-9ed7-bcecb394d277" }, { "AppID", "489776b1-ee79-4b14-bc44-9f6bf47332db" } };
|
|
|
|
private static Dictionary<string, string> _keys = new Dictionary<string, string>() {
|
|
|
|
{ "SecretV", "gB58Q~ivZRcVK4Qhu3PWJr8yLS288ZhoQwglcaPi" },
|
|
|
|
{ "SecretID", "92927063-e101-45ba-8a4c-bff8d63bcb34" },
|
|
|
|
{ "ObjectId", "c7647074-edb6-4e8e-8a01-a1ed924fdae9" },
|
|
|
|
{ "TenentID", "1fd06c96-d3a4-45e9-9ed7-bcecb394d277" },
|
|
|
|
{ "AppID", "489776b1-ee79-4b14-bc44-9f6bf47332db" } };
|
|
|
|
public static Dictionary<string, int> InspectionType;
|
|
|
|
static async System.Threading.Tasks.Task Main(string[] args)
|
|
|
|
{
|
|
|
|
@@ -77,7 +82,7 @@ namespace jdis_import |
|
|
|
Mailbox mb = new Mailbox("connexionmobile@rpmindustries.org");
|
|
|
|
FolderId fid = new FolderId(WellKnownFolderName.Inbox, mb);
|
|
|
|
List<SearchFilter> searchFilterCollection = new List<SearchFilter>();
|
|
|
|
string[] filters = "Brandt Import;BRANDT IMPORT;brandt import;TEST Brandt".Split(';');
|
|
|
|
string[] filters = "Brandt Import;brandt import;Brandt import;brandt Import".Split(';');//"Brandt Import;BRANDT IMPORT;brandt import;TEST Brandt".Split(';');
|
|
|
|
foreach (string s in filters)
|
|
|
|
searchFilterCollection.Add(new SearchFilter.ContainsSubstring(ItemSchema.Subject, s));
|
|
|
|
|
|
|
|
|