diff --git a/App/.vs/SERV_EMAIL/v15/.suo b/App/.vs/SERV_EMAIL/v15/.suo index 99ee4ae..a42c21c 100644 Binary files a/App/.vs/SERV_EMAIL/v15/.suo and b/App/.vs/SERV_EMAIL/v15/.suo differ diff --git a/App/CONFIG_APP/CONFIG_APP.vbproj b/App/CONFIG_APP/CONFIG_APP.vbproj index 1dfe0e0..7526cd3 100644 --- a/App/CONFIG_APP/CONFIG_APP.vbproj +++ b/App/CONFIG_APP/CONFIG_APP.vbproj @@ -60,6 +60,9 @@ ..\..\..\DDMonorepo\Modules.Logging\bin\Debug\DigitalData.Modules.Logging.dll + + ..\..\..\DDMonorepo\Message\bin\Debug\DigitalData.Modules.Messaging.dll + False P:\Projekte DIGITAL DATA\DIGITAL DATA - Entwicklung\DLL_Bibliotheken\Email .NET\Bin\Independentsoft.Email.dll diff --git a/App/CONFIG_APP/My Project/AssemblyInfo.vb b/App/CONFIG_APP/My Project/AssemblyInfo.vb index 33f1c0a..61589aa 100644 --- a/App/CONFIG_APP/My Project/AssemblyInfo.vb +++ b/App/CONFIG_APP/My Project/AssemblyInfo.vb @@ -31,5 +31,5 @@ Imports System.Runtime.InteropServices ' übernehmen, indem Sie "*" eingeben: ' - + diff --git a/App/CONFIG_APP/bin/Debug/CONFIG_APP.exe b/App/CONFIG_APP/bin/Debug/CONFIG_APP.exe index 02e3f0a..996dcb7 100644 Binary files a/App/CONFIG_APP/bin/Debug/CONFIG_APP.exe and b/App/CONFIG_APP/bin/Debug/CONFIG_APP.exe differ diff --git a/App/CONFIG_APP/bin/Debug/CONFIG_APP.pdb b/App/CONFIG_APP/bin/Debug/CONFIG_APP.pdb index 6777e3e..e6d4130 100644 Binary files a/App/CONFIG_APP/bin/Debug/CONFIG_APP.pdb and b/App/CONFIG_APP/bin/Debug/CONFIG_APP.pdb differ diff --git a/App/CONFIG_APP/bin/Debug/DigitalData.EMLProfiler.dll b/App/CONFIG_APP/bin/Debug/DigitalData.EMLProfiler.dll index e40f034..1101777 100644 Binary files a/App/CONFIG_APP/bin/Debug/DigitalData.EMLProfiler.dll and b/App/CONFIG_APP/bin/Debug/DigitalData.EMLProfiler.dll differ diff --git a/App/CONFIG_APP/bin/Debug/DigitalData.EMLProfiler.pdb b/App/CONFIG_APP/bin/Debug/DigitalData.EMLProfiler.pdb index 87cdc1a..c20a628 100644 Binary files a/App/CONFIG_APP/bin/Debug/DigitalData.EMLProfiler.pdb and b/App/CONFIG_APP/bin/Debug/DigitalData.EMLProfiler.pdb differ diff --git a/App/CONFIG_APP/bin/Debug/DigitalData.Modules.Database.dll b/App/CONFIG_APP/bin/Debug/DigitalData.Modules.Database.dll index 02cdf94..83b76de 100644 Binary files a/App/CONFIG_APP/bin/Debug/DigitalData.Modules.Database.dll and b/App/CONFIG_APP/bin/Debug/DigitalData.Modules.Database.dll differ diff --git a/App/CONFIG_APP/bin/Debug/DigitalData.Modules.Database.pdb b/App/CONFIG_APP/bin/Debug/DigitalData.Modules.Database.pdb index af67b3d..6cc2765 100644 Binary files a/App/CONFIG_APP/bin/Debug/DigitalData.Modules.Database.pdb and b/App/CONFIG_APP/bin/Debug/DigitalData.Modules.Database.pdb differ diff --git a/App/CONFIG_APP/bin/Debug/DigitalData.Modules.Database.xml b/App/CONFIG_APP/bin/Debug/DigitalData.Modules.Database.xml index 813fc06..688fc25 100644 --- a/App/CONFIG_APP/bin/Debug/DigitalData.Modules.Database.xml +++ b/App/CONFIG_APP/bin/Debug/DigitalData.Modules.Database.xml @@ -71,10 +71,11 @@ DigitalData.Modules.Database - - - - + The LogFactory containing the current log config. Used to instanciate the class logger for this and any dependent class + The server where the database lives, for example 127.0.0.1 or dd-vmx09-vm03 + The location of the Database in the format `127.0.0.1:E:\Path\To\Database.FDB` + The user name to connect as + The user's password @@ -172,7 +173,7 @@ DigitalData.Modules.Database Returns a datatable for a sql-statement sqlcommand for datatable (select XYZ from TableORView) - Optional Timeout + Optional Timeout Returns a datatable @@ -181,7 +182,16 @@ DigitalData.Modules.Database Executes the passed sql-statement the sql statement - Optional Timeout + Optional Timeout + Returns true if properly executed, else false + + + + + Executes the passed sql-statement as Scalar + + the sql statement + Optional Timeout Returns true if properly executed, else false @@ -193,14 +203,5 @@ DigitalData.Modules.Database Optional Timeout - - - Executes the passed sql-statement as Scalar - - the sql statement - Optional Timeout - Returns true if properly executed, else false - - diff --git a/App/CONFIG_APP/bin/Debug/DigitalData.Modules.Logging.dll b/App/CONFIG_APP/bin/Debug/DigitalData.Modules.Logging.dll index 9f9fc41..59a48e9 100644 Binary files a/App/CONFIG_APP/bin/Debug/DigitalData.Modules.Logging.dll and b/App/CONFIG_APP/bin/Debug/DigitalData.Modules.Logging.dll differ diff --git a/App/CONFIG_APP/bin/Debug/DigitalData.Modules.Logging.pdb b/App/CONFIG_APP/bin/Debug/DigitalData.Modules.Logging.pdb index 5f070ba..0253ab2 100644 Binary files a/App/CONFIG_APP/bin/Debug/DigitalData.Modules.Logging.pdb and b/App/CONFIG_APP/bin/Debug/DigitalData.Modules.Logging.pdb differ diff --git a/App/CONFIG_APP/bin/Debug/DigitalData.Modules.Messaging.dll b/App/CONFIG_APP/bin/Debug/DigitalData.Modules.Messaging.dll new file mode 100644 index 0000000..94c39b8 Binary files /dev/null and b/App/CONFIG_APP/bin/Debug/DigitalData.Modules.Messaging.dll differ diff --git a/App/CONFIG_APP/bin/Debug/DigitalData.Modules.Messaging.pdb b/App/CONFIG_APP/bin/Debug/DigitalData.Modules.Messaging.pdb new file mode 100644 index 0000000..f2c0e86 Binary files /dev/null and b/App/CONFIG_APP/bin/Debug/DigitalData.Modules.Messaging.pdb differ diff --git a/App/CONFIG_APP/bin/Debug/DigitalData.Modules.Messaging.xml b/App/CONFIG_APP/bin/Debug/DigitalData.Modules.Messaging.xml new file mode 100644 index 0000000..0f06d0f --- /dev/null +++ b/App/CONFIG_APP/bin/Debug/DigitalData.Modules.Messaging.xml @@ -0,0 +1,57 @@ + + + + +DigitalData.Modules.Messaging + + + + + + Eine stark typisierte Ressourcenklasse zum Suchen von lokalisierten Zeichenfolgen usw. + + + + + Gibt die zwischengespeicherte ResourceManager-Instanz zurück, die von dieser Klasse verwendet wird. + + + + + Überschreibt die CurrentUICulture-Eigenschaft des aktuellen Threads für alle + Ressourcenzuordnungen, die diese stark typisierte Ressourcenklasse verwenden. + + + + + Tests connection to a given IMAP Server by connecting and doing a simple message query. + + IP-Address or Domainname of Server + IMAP-Port + IMAP-Username + IMAP-Password + The folder to fetch messages from. Defaults to `Inbox` + True if connection and query were successful. False otherwise. + + + + Connects to an IMAP Server with the given credentials and + fetches emails from the given folder. + Results can be filtered with `SearchCondition` + + IP-Address or Domainname of Server + IMAP-Port + IMAP-Username + IMAP-Password + The folder to fetch messages from + Filter the search command. Defaults to `All` + A list of Independentsoft.Email.Mime.Message objects + + + + Uses a private API from MailWriter to write a MailMessage to disk. + May break in future versions of .NET + + + + diff --git a/App/CONFIG_APP/bin/Debug/Log/2019-05-10-Email-Profiler - Config-Log-Debug.log b/App/CONFIG_APP/bin/Debug/Log/2019-05-10-Email-Profiler - Config-Log-Debug.log new file mode 100644 index 0000000..01b1c2a --- /dev/null +++ b/App/CONFIG_APP/bin/Debug/Log/2019-05-10-Email-Profiler - Config-Log-Debug.log @@ -0,0 +1,8 @@ +2019-05-10 13:13:06|frmMain|DEBUG >> AppConfig is located at: [E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\CONFIG_APP\bin\Debug\CONFIG_APP.exe.Config] +2019-05-10 13:13:07|clsWindream_allgemein|DEBUG >> sDD-VMX02-APS01 +2019-05-10 13:13:08|clsWindream_allgemein|DEBUG >> sDD-VMX02-APS01 +2019-05-10 13:13:08|clsWindream_allgemein|DEBUG >> windream-Server: 'sDD-VMX02-APS01' +2019-05-10 13:13:08|clsWindream_allgemein|DEBUG >> windream-UserName: 'DIGITALDATA.LOCAL\SchreiberM' +2019-05-10 13:13:08|clsWindream_allgemein|DEBUG >> Alles OK - Erfolgreich angemeldet und Session aufgebaut +2019-05-10 13:13:08|frmMain|DEBUG >> SQL-Server ConnString is [Data Source=172.24.12.41\tests;Initial Catalog=DD_ECM_TEST;Persist Security Info=True;User ID=sa;Password=dd] +2019-05-10 13:13:08|clsDatabase|DEBUG >> ReturnDatatable Command: select * from TBEMLP_CONFIG diff --git a/App/CONFIG_APP/bin/Debug/Log/2019-05-10-Email-Profiler - Config-Log-Error.log b/App/CONFIG_APP/bin/Debug/Log/2019-05-10-Email-Profiler - Config-Log-Error.log new file mode 100644 index 0000000..cd179ef --- /dev/null +++ b/App/CONFIG_APP/bin/Debug/Log/2019-05-10-Email-Profiler - Config-Log-Error.log @@ -0,0 +1,10 @@ +2019-05-10 13:13:38|clsEmail|WARN >> clsEmail.Client.Connect1: Der angegebene Host ist unbekannt +2019-05-10 13:13:43|clsEmail|WARN >> clsEmail.Client.Connect: Der angegebene Host ist unbekannt +2019-05-10 13:13:43|clsEmail|WARN >> clsEmail.Client.Send: You are not connected to the server. +2019-05-10 13:13:43|clsEmail|ERROR >> You are not connected to the server. + bei Independentsoft.Email.Smtp.SmtpClient.?(String ?, String ?) + bei Independentsoft.Email.Smtp.SmtpClient.Disconnect() + bei DigitalData.EMLProfiler.clsEmail.Email_Send_Independentsoft(String mailSubject, String mailBody, String mailto, String mailfrom, String mailsmtp, Int32 mailport, String mailUser, String mailPW, String AUTH_TYPE, String attment) in E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\DigitalData.EMLProfiler\clsEmail.vb:Zeile 255. +2019-05-10 13:13:46|Email|ERROR >> Fehler beim Senden von Mail. + bei System.Net.Mail.SmtpClient.Send(MailMessage message) + bei DigitalData.Modules.Messaging.Email.NewEmail(String mailto, String mailSubject, String mailBody, String mailfrom, String mailsmtp, Int32 mailport, String mailUser, String mailPW, String AUTH_TYPE, String SENDER_INSTANCE, String attachmentString, Boolean Test) in E:\SchreiberM\Visual Studio\GIT\DDMonorepo\Message\Email.vb:Zeile 333. diff --git a/App/CONFIG_APP/bin/Debug/Log/2019-05-10-Email-Profiler - Config-Log.log b/App/CONFIG_APP/bin/Debug/Log/2019-05-10-Email-Profiler - Config-Log.log new file mode 100644 index 0000000..8c5f446 --- /dev/null +++ b/App/CONFIG_APP/bin/Debug/Log/2019-05-10-Email-Profiler - Config-Log.log @@ -0,0 +1,11 @@ +2019-05-10 13:13:38|clsEmail|WARN >> clsEmail.Client.Connect1: Der angegebene Host ist unbekannt +2019-05-10 13:13:43|clsEmail|INFO >> Authentification via SSL. +2019-05-10 13:13:43|clsEmail|WARN >> clsEmail.Client.Connect: Der angegebene Host ist unbekannt +2019-05-10 13:13:43|clsEmail|WARN >> clsEmail.Client.Send: You are not connected to the server. +2019-05-10 13:13:46|Email|INFO >> Unexpected error in Sending smtp-Mail: +2019-05-10 13:13:46|Email|INFO >> myClient.Host: webmail.syncreon.local +2019-05-10 13:13:46|Email|INFO >> myClient.Port: 25 +2019-05-10 13:13:46|Email|INFO >> myClient.EnableSsl: True +2019-05-10 13:13:46|Email|INFO >> myMesssage.Subject: Testmail SSMail +2019-05-10 13:13:46|Email|INFO >> myMesssage.Body: This is the body (text will be replaced within profile) +2019-05-10 13:13:46|Email|INFO >> myMesssage.From: Postfach.Autoreceive.Logit@logit.syncreon.com diff --git a/App/CONFIG_APP/frmMain.Designer.vb b/App/CONFIG_APP/frmMain.Designer.vb index 7d2b8e0..d1bee55 100644 --- a/App/CONFIG_APP/frmMain.Designer.vb +++ b/App/CONFIG_APP/frmMain.Designer.vb @@ -37,7 +37,6 @@ Partial Class frmMain Dim WM_VECTOR_LOGLabel As System.Windows.Forms.Label Dim WM_PATHLabel As System.Windows.Forms.Label Dim WM_FILE_NAMELabel As System.Windows.Forms.Label - Dim PATH_EMAIL_TEMPLabel As System.Windows.Forms.Label Dim PATH_EMAIL_ERRORSLabel As System.Windows.Forms.Label Dim WM_IDX_BODY_TEXTLabel As System.Windows.Forms.Label Dim WM_IDX_BODY_SUBSTR_LENGTHLabel As System.Windows.Forms.Label @@ -80,8 +79,8 @@ Partial Class frmMain Dim CHANGED_WHENLabel5 As System.Windows.Forms.Label Dim AUTH_TYPELabel As System.Windows.Forms.Label Dim Label11 As System.Windows.Forms.Label - Dim resources As System.ComponentModel.ComponentResourceManager = New System.ComponentModel.ComponentResourceManager(GetType(frmMain)) Dim PORT_INLabel As System.Windows.Forms.Label + Dim resources As System.ComponentModel.ComponentResourceManager = New System.ComponentModel.ComponentResourceManager(GetType(frmMain)) Me.StatusStrip1 = New System.Windows.Forms.StatusStrip() Me.tslblstatus = New System.Windows.Forms.ToolStripStatusLabel() Me.tslblRefresh = New System.Windows.Forms.ToolStripStatusLabel() @@ -116,6 +115,7 @@ Partial Class frmMain Me.POLL_TYPEComboBox = New System.Windows.Forms.ComboBox() Me.XtraTabControl1 = New DevExpress.XtraTab.XtraTabControl() Me.XtraTabPage1 = New DevExpress.XtraTab.XtraTabPage() + Me.lblDownloadPath = New System.Windows.Forms.Label() Me.PATH_ORIGINALTextBox = New System.Windows.Forms.TextBox() Me.TBEMLP_POLL_PROCESSBindingSource = New System.Windows.Forms.BindingSource(Me.components) Me.btnFBD_ErrorPath = New System.Windows.Forms.Button() @@ -278,6 +278,7 @@ Partial Class frmMain Me.ToolStripSeparator12 = New System.Windows.Forms.ToolStripSeparator() Me.ToolStripButton34 = New System.Windows.Forms.ToolStripButton() Me.TabPage3 = New System.Windows.Forms.TabPage() + Me.PORT_INTextBox = New System.Windows.Forms.TextBox() Me.Button2 = New System.Windows.Forms.Button() Me.txtInboxname = New System.Windows.Forms.TextBox() Me.Button1 = New System.Windows.Forms.Button() @@ -340,7 +341,7 @@ Partial Class frmMain Me.TBEMLP_HISTORYTableAdapter = New CONFIG_APP.MyDatasetTableAdapters.TBEMLP_HISTORYTableAdapter() Me.TBEMLP_CONFIGTableAdapter = New CONFIG_APP.MyDatasetTableAdapters.TBEMLP_CONFIGTableAdapter() Me.FolderBrowserDialog1 = New System.Windows.Forms.FolderBrowserDialog() - Me.PORT_INTextBox = New System.Windows.Forms.TextBox() + Me.Button6 = New System.Windows.Forms.Button() GUIDLabel = New System.Windows.Forms.Label() PROFILE_NAMELabel = New System.Windows.Forms.Label() POLL_TYPELabel = New System.Windows.Forms.Label() @@ -355,7 +356,6 @@ Partial Class frmMain WM_VECTOR_LOGLabel = New System.Windows.Forms.Label() WM_PATHLabel = New System.Windows.Forms.Label() WM_FILE_NAMELabel = New System.Windows.Forms.Label() - PATH_EMAIL_TEMPLabel = New System.Windows.Forms.Label() PATH_EMAIL_ERRORSLabel = New System.Windows.Forms.Label() WM_IDX_BODY_TEXTLabel = New System.Windows.Forms.Label() WM_IDX_BODY_SUBSTR_LENGTHLabel = New System.Windows.Forms.Label() @@ -580,15 +580,6 @@ Partial Class frmMain WM_FILE_NAMELabel.TabIndex = 8 WM_FILE_NAMELabel.Text = "Namenkonvention:" ' - 'PATH_EMAIL_TEMPLabel - ' - PATH_EMAIL_TEMPLabel.AutoSize = True - PATH_EMAIL_TEMPLabel.Location = New System.Drawing.Point(316, 188) - PATH_EMAIL_TEMPLabel.Name = "PATH_EMAIL_TEMPLabel" - PATH_EMAIL_TEMPLabel.Size = New System.Drawing.Size(84, 13) - PATH_EMAIL_TEMPLabel.TabIndex = 54 - PATH_EMAIL_TEMPLabel.Text = "Download-Path:" - ' 'PATH_EMAIL_ERRORSLabel ' PATH_EMAIL_ERRORSLabel.AutoSize = True @@ -967,6 +958,15 @@ Partial Class frmMain Label11.TabIndex = 64 Label11.Text = "Password:" ' + 'PORT_INLabel + ' + PORT_INLabel.AutoSize = True + PORT_INLabel.Location = New System.Drawing.Point(493, 148) + PORT_INLabel.Name = "PORT_INLabel" + PORT_INLabel.Size = New System.Drawing.Size(42, 13) + PORT_INLabel.TabIndex = 70 + PORT_INLabel.Text = "Port in:" + ' 'StatusStrip1 ' Me.StatusStrip1.Items.AddRange(New System.Windows.Forms.ToolStripItem() {Me.tslblstatus, Me.tslblRefresh}) @@ -1289,6 +1289,7 @@ Partial Class frmMain Me.XtraTabPage1.Appearance.Header.Font = New System.Drawing.Font("Tahoma", 8.25!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, Byte)) Me.XtraTabPage1.Appearance.Header.Options.UseFont = True Me.XtraTabPage1.AutoScroll = True + Me.XtraTabPage1.Controls.Add(Me.lblDownloadPath) Me.XtraTabPage1.Controls.Add(Me.PATH_ORIGINALTextBox) Me.XtraTabPage1.Controls.Add(Me.btnFBD_ErrorPath) Me.XtraTabPage1.Controls.Add(Me.btnFBD_DonwloadPath) @@ -1318,7 +1319,6 @@ Partial Class frmMain Me.XtraTabPage1.Controls.Add(Me.WM_OBJEKTTYPEComboBox) Me.XtraTabPage1.Controls.Add(WM_VECTOR_LOGLabel) Me.XtraTabPage1.Controls.Add(Me.WM_VECTOR_LOGComboBox) - Me.XtraTabPage1.Controls.Add(PATH_EMAIL_TEMPLabel) Me.XtraTabPage1.Controls.Add(Me.PATH_EMAIL_TEMPTextBox) Me.XtraTabPage1.Controls.Add(PATH_EMAIL_ERRORSLabel) Me.XtraTabPage1.Controls.Add(Me.PATH_EMAIL_ERRORSTextBox) @@ -1337,12 +1337,21 @@ Partial Class frmMain Me.XtraTabPage1.Size = New System.Drawing.Size(1205, 328) Me.XtraTabPage1.Text = "Zugeordnete Prozesse" ' + 'lblDownloadPath + ' + Me.lblDownloadPath.AutoSize = True + Me.lblDownloadPath.Location = New System.Drawing.Point(316, 188) + Me.lblDownloadPath.Name = "lblDownloadPath" + Me.lblDownloadPath.Size = New System.Drawing.Size(44, 13) + Me.lblDownloadPath.TabIndex = 92 + Me.lblDownloadPath.Text = "Label15" + ' 'PATH_ORIGINALTextBox ' Me.PATH_ORIGINALTextBox.DataBindings.Add(New System.Windows.Forms.Binding("Text", Me.TBEMLP_POLL_PROCESSBindingSource, "PATH_ORIGINAL", True)) Me.PATH_ORIGINALTextBox.Location = New System.Drawing.Point(509, 124) Me.PATH_ORIGINALTextBox.Name = "PATH_ORIGINALTextBox" - Me.PATH_ORIGINALTextBox.Size = New System.Drawing.Size(272, 21) + Me.PATH_ORIGINALTextBox.Size = New System.Drawing.Size(305, 21) Me.PATH_ORIGINALTextBox.TabIndex = 91 ' 'TBEMLP_POLL_PROCESSBindingSource @@ -1375,16 +1384,16 @@ Partial Class frmMain Me.txtSubjectExample.BackColor = System.Drawing.SystemColors.Window Me.txtSubjectExample.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle Me.txtSubjectExample.ForeColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(64, Byte), Integer), CType(CType(0, Byte), Integer)) - Me.txtSubjectExample.Location = New System.Drawing.Point(820, 41) + Me.txtSubjectExample.Location = New System.Drawing.Point(874, 41) Me.txtSubjectExample.Name = "txtSubjectExample" Me.txtSubjectExample.ReadOnly = True - Me.txtSubjectExample.Size = New System.Drawing.Size(358, 21) + Me.txtSubjectExample.Size = New System.Drawing.Size(304, 21) Me.txtSubjectExample.TabIndex = 88 ' 'Label9 ' Me.Label9.AutoSize = True - Me.Label9.Location = New System.Drawing.Point(817, 25) + Me.Label9.Location = New System.Drawing.Point(871, 25) Me.Label9.Name = "Label9" Me.Label9.Size = New System.Drawing.Size(74, 13) Me.Label9.TabIndex = 87 @@ -1403,9 +1412,9 @@ Partial Class frmMain ' Me.WM_IMPORTCheckBox.BackColor = System.Drawing.Color.White Me.WM_IMPORTCheckBox.DataBindings.Add(New System.Windows.Forms.Binding("CheckState", Me.TBEMLP_POLL_PROCESSBindingSource, "WM_IMPORT", True)) - Me.WM_IMPORTCheckBox.Location = New System.Drawing.Point(827, 108) + Me.WM_IMPORTCheckBox.Location = New System.Drawing.Point(885, 108) Me.WM_IMPORTCheckBox.Name = "WM_IMPORTCheckBox" - Me.WM_IMPORTCheckBox.Size = New System.Drawing.Size(121, 24) + Me.WM_IMPORTCheckBox.Size = New System.Drawing.Size(149, 24) Me.WM_IMPORTCheckBox.TabIndex = 43 Me.WM_IMPORTCheckBox.Text = "Windream Import" Me.WM_IMPORTCheckBox.UseVisualStyleBackColor = False @@ -1469,9 +1478,9 @@ Partial Class frmMain Me.GroupBox2.Controls.Add(Me.WM_PATHTextBox) Me.GroupBox2.Controls.Add(WM_FILE_NAMELabel) Me.GroupBox2.Controls.Add(Me.WM_FILE_NAMETextBox) - Me.GroupBox2.Location = New System.Drawing.Point(820, 114) + Me.GroupBox2.Location = New System.Drawing.Point(878, 114) Me.GroupBox2.Name = "GroupBox2" - Me.GroupBox2.Size = New System.Drawing.Size(364, 110) + Me.GroupBox2.Size = New System.Drawing.Size(540, 110) Me.GroupBox2.TabIndex = 79 Me.GroupBox2.TabStop = False ' @@ -1480,7 +1489,7 @@ Partial Class frmMain Me.WM_PATHTextBox.DataBindings.Add(New System.Windows.Forms.Binding("Text", Me.TBEMLP_POLL_PROCESSBindingSource, "WM_PATH", True)) Me.WM_PATHTextBox.Location = New System.Drawing.Point(9, 37) Me.WM_PATHTextBox.Name = "WM_PATHTextBox" - Me.WM_PATHTextBox.Size = New System.Drawing.Size(349, 21) + Me.WM_PATHTextBox.Size = New System.Drawing.Size(312, 21) Me.WM_PATHTextBox.TabIndex = 7 ' 'WM_FILE_NAMETextBox @@ -1488,7 +1497,7 @@ Partial Class frmMain Me.WM_FILE_NAMETextBox.DataBindings.Add(New System.Windows.Forms.Binding("Text", Me.TBEMLP_POLL_PROCESSBindingSource, "WM_FILE_NAME", True)) Me.WM_FILE_NAMETextBox.Location = New System.Drawing.Point(9, 77) Me.WM_FILE_NAMETextBox.Name = "WM_FILE_NAMETextBox" - Me.WM_FILE_NAMETextBox.Size = New System.Drawing.Size(349, 21) + Me.WM_FILE_NAMETextBox.Size = New System.Drawing.Size(312, 21) Me.WM_FILE_NAMETextBox.TabIndex = 11 ' 'STEP_NAMEComboBox @@ -1505,7 +1514,7 @@ Partial Class frmMain ' Me.PROCESS_NAMEComboBox.DataBindings.Add(New System.Windows.Forms.Binding("Text", Me.TBEMLP_POLL_PROCESSBindingSource, "PROCESS_NAME", True)) Me.PROCESS_NAMEComboBox.FormattingEnabled = True - Me.PROCESS_NAMEComboBox.Items.AddRange(New Object() {"ProcessManager", "ADDI", "Globix", "Attachment Sniffer", "Not defined"}) + Me.PROCESS_NAMEComboBox.Items.AddRange(New Object() {"ProcessManager", "ADDI", "Globix", "Attachment Sniffer", "ZugFeRD-Parser", "Not defined"}) Me.PROCESS_NAMEComboBox.Location = New System.Drawing.Point(319, 41) Me.PROCESS_NAMEComboBox.Name = "PROCESS_NAMEComboBox" Me.PROCESS_NAMEComboBox.Size = New System.Drawing.Size(185, 21) @@ -1609,7 +1618,7 @@ Partial Class frmMain Me.WM_IDX_BODY_SUBSTR_LENGTHTextBox.DataBindings.Add(New System.Windows.Forms.Binding("Text", Me.TBEMLP_POLL_PROCESSBindingSource, "WM_IDX_BODY_SUBSTR_LENGTH", True)) Me.WM_IDX_BODY_SUBSTR_LENGTHTextBox.Location = New System.Drawing.Point(465, 164) Me.WM_IDX_BODY_SUBSTR_LENGTHTextBox.Name = "WM_IDX_BODY_SUBSTR_LENGTHTextBox" - Me.WM_IDX_BODY_SUBSTR_LENGTHTextBox.Size = New System.Drawing.Size(39, 21) + Me.WM_IDX_BODY_SUBSTR_LENGTHTextBox.Size = New System.Drawing.Size(29, 21) Me.WM_IDX_BODY_SUBSTR_LENGTHTextBox.TabIndex = 8 ' 'BindingNavigator2 @@ -2887,6 +2896,7 @@ Partial Class frmMain ' 'TabPage3 ' + Me.TabPage3.Controls.Add(Me.Button6) Me.TabPage3.Controls.Add(PORT_INLabel) Me.TabPage3.Controls.Add(Me.PORT_INTextBox) Me.TabPage3.Controls.Add(Me.Button2) @@ -2932,6 +2942,14 @@ Partial Class frmMain Me.TabPage3.Text = "EMail-Konto Konfiguration" Me.TabPage3.UseVisualStyleBackColor = True ' + 'PORT_INTextBox + ' + Me.PORT_INTextBox.DataBindings.Add(New System.Windows.Forms.Binding("Text", Me.TBDD_EMAIL_ACCOUNTBindingSource, "PORT_IN", True)) + Me.PORT_INTextBox.Location = New System.Drawing.Point(496, 164) + Me.PORT_INTextBox.Name = "PORT_INTextBox" + Me.PORT_INTextBox.Size = New System.Drawing.Size(100, 21) + Me.PORT_INTextBox.TabIndex = 71 + ' 'Button2 ' Me.Button2.Image = Global.CONFIG_APP.My.Resources.Resources.email_go @@ -3479,22 +3497,17 @@ Partial Class frmMain ' Me.TBEMLP_CONFIGTableAdapter.ClearBeforeFill = True ' - 'PORT_INLabel + 'Button6 ' - PORT_INLabel.AutoSize = True - PORT_INLabel.Location = New System.Drawing.Point(493, 148) - PORT_INLabel.Name = "PORT_INLabel" - PORT_INLabel.Size = New System.Drawing.Size(42, 13) - PORT_INLabel.TabIndex = 70 - PORT_INLabel.Text = "Port in:" - ' - 'PORT_INTextBox - ' - Me.PORT_INTextBox.DataBindings.Add(New System.Windows.Forms.Binding("Text", Me.TBDD_EMAIL_ACCOUNTBindingSource, "PORT_IN", True)) - Me.PORT_INTextBox.Location = New System.Drawing.Point(496, 164) - Me.PORT_INTextBox.Name = "PORT_INTextBox" - Me.PORT_INTextBox.Size = New System.Drawing.Size(100, 21) - Me.PORT_INTextBox.TabIndex = 71 + Me.Button6.Image = Global.CONFIG_APP.My.Resources.Resources.email_go + Me.Button6.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft + Me.Button6.Location = New System.Drawing.Point(705, 278) + Me.Button6.Name = "Button6" + Me.Button6.Size = New System.Drawing.Size(117, 35) + Me.Button6.TabIndex = 72 + Me.Button6.Text = "Send SS2" + Me.Button6.TextAlign = System.Drawing.ContentAlignment.MiddleRight + Me.Button6.UseVisualStyleBackColor = True ' 'frmMain ' @@ -3844,4 +3857,6 @@ Partial Class frmMain Friend WithEvents Button5 As Button Friend WithEvents PATH_ORIGINALTextBox As TextBox Friend WithEvents PORT_INTextBox As TextBox + Friend WithEvents lblDownloadPath As Label + Friend WithEvents Button6 As Button End Class diff --git a/App/CONFIG_APP/frmMain.resx b/App/CONFIG_APP/frmMain.resx index 61b8b28..353f785 100644 --- a/App/CONFIG_APP/frmMain.resx +++ b/App/CONFIG_APP/frmMain.resx @@ -159,9 +159,6 @@ False - - False - False @@ -288,6 +285,9 @@ False + + False + 17, 17 @@ -304,6 +304,82 @@ nRg7L/M8pziOWYAVBu8cdfSxgesVgiCgzWZLz8fTMABHHnX0cbOCMQfIRVFEt/LOgChNU14lJ7/UScxA AQ3Y6Xg4saCqHryCI/+TwTf8uQFu2SUS6FdwhSroObCNwI056As1UKFq0JNooZtEz3sBIUpmhmW9bzQA AAAASUVORK5CYII= + + + + 1209, 17 + + + 1297, 95 + + + 777, 95 + + + 1079, 134 + + + + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO + wwAADsMBx2+oZAAAAUpJREFUOE9jGLzg7gL2/7fmcf6/Oofr/8UZvP+hwsSD60CNfx41/v/zsOH/yckC + pBtwfjov3ICDPSKkG3B8kiBQc93/Pw+q/u9oFydswKWZPP/PTuX7fxKo8Ui/0P993SJAzeX//94r+r++ + Qeb/qhq5/0srFf/PL1X+P6tIFdPAU0B//nlYD9RUC8SV///cKwHivP9/72b+/3sn+f/f23H//92MAOKQ + /5NyNDENONQrDHbu3/ulQI0FQI3ZQI2pQI0J///digZqDPv/70bQ/3/X/f53peliGrCzXeL/lmap/+vA + zpX/v6RC8f/fWzFAjeH/p+Zp/J+QpfW/O0P3f3uq/v/mREPCYTIb6E+Qc//dCPjfk6FDWAM6APnz3w1/ + IPb735qsT7oB3em6YP+CcH2cEekGtCQZ/G+IN/xfE2v8vzLahHQD6AQYGAAkI9iedfyIaQAAAABJRU5E + rkJggg== + + + + + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO + wwAADsMBx2+oZAAAAW9JREFUOE+1kE0ow2Ecx3dV3krt4oJaOSCTvIRkMqSxyITIzCQHDouEdnFwIOVC + DrhIDiQl5UTiNG/z2ppafy1S2gX/uDwfY6i1v7Hie3nqeb7fz+/7/FR/Ilwn0G0Exw4fV5GJlXlEZxXC + rIet9bAQvB5Ymgn2sLYAvSZEux7RUQFzE4qQt4bCXAYjPaHvnDoCkLpsRGMB2JqCTGLIijDlwqQ9bEMV + i9OIytR3EMNWcJ/BWH8A6j8/bOGFxwXNxYEvGbMQ9XnQ1/K78KfY3/VXzkMY0qFGG2H4RoLGQshJQNbG + 86CNhdrsX9a/uQZTPhQl4rMY4OLofbl3aX7I8uwPC7y/g1YdjyVJuEvT8e1tfwUYteHUxCCfHChDeHmG + QQvokjlOU+PbWA0x3pZnILVVI3uvQyHsbiLnqnGmRCF1NYD8pDhpRxOH7HQoAKZGkFKjceszQbpSrumX + bO+G80MFwKUTxgfgcO/b8D9IpXoFiiMDHIQm0skAAAAASUVORK5CYII= + + + + + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO + wwAADsMBx2+oZAAAASpJREFUOE9jGDygcNbz/00Lnv/PnPj4P1QIA4S3P8Apx5A789n/VUfe/8elKL77 + wf/ghmu4DciY8vT/wn0fsCqK73n4f+n+///9qy/gNiCh58n/aVveYyiKaL8P1pw56/9/r9ITuA2I7Hr0 + v3f1BxRFoa33wJpb1wFt7/z73yX/AG4DApsf/q+b/w6uKLjl7v9Fe///7wBqzpjz879d3c//9hnbcRvg + UXX/f/60NyiK7Ipv/0+f8/u/f9e3/zqF7/5bJKzHbYB96d3/2ZNfYyjSTzn/36ToxX+VrE//jSOX4TbA + Iu/O/9T+11gVGSSd+C+b9vW/bvA83AYYZt3+H9byEqci/dTL/zV8p+E2QCftxn+/6od4Fal4TMBtgFPu + lf8gBXgVDULAwAAA8HbAq6XlmnAAAAAASUVORK5CYII= + + + + + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO + wwAADsMBx2+oZAAAALZJREFUOE9jGDogvP3BfyiTdBDf/eB/cMM18gyI73n4f+n+///9qy+QbkBE+32w + 5sxZ//97lZ4gzYDQ1ntgza3rgLZ3/v3vkn+AeAOCW+7+X7T3//8OoOaMOT//29X9/G+fsZ00F9gV3/6f + Puf3f/+ub/91Ct/9t0hYT3oY6Kec/29S9OK/Stan/8aRy0g3AAQMkk78l037+l83eB55BoCAfurl/xq+ + 08g3AARUPCZQZsBgBQwMANAUYJgEulBVAAAAAElFTkSuQmCC + + + + + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO + wwAADsMBx2+oZAAAAKNJREFUOE9jGHygcNbz/1AmeSB35rP/Cd33yDckY8rT//P2//6f0HWHPEMSep78 + n73v1//OrX//u5VeJt2QyK5H/6ds+/W/ZOnf/wnT//63yT1LmiGBzQ//t659D9ZsXPLlv3T0tf/GkcuI + N8Sj6v7/krnv4JoVXXpIc4F96d3/gS3PyNMMAhZ5d/7bFFwhTzMIGGbdJl8zCOik3SBf81AEDAwAoH5f + oAc0QjgAAAAASUVORK5CYII= + + + + + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO + wwAADsMBx2+oZAAAASxJREFUOE9jGFygcNbz/1AmBgDJNS14/j9z4mOcahhyZz77n9B9D6sCkNyqI+// + h7c/wG1AxpSn/+ft//0/oesOhiKQ3MJ9H/4HN1zDbUBCz5P/s/f9+t+59e9/t9LLKApBctO2vP/vX30B + twGRXY/+T9n263/J0r//E6b//W+TexauGCTXu/rDf6/SE7gNCGx++L917XuwZuOSL/+lo6/9N45cBtYA + kqub/+6/S/4B3AZ4VN3/XzL3HVyzoksPXDFILn/am//2GdtxG2Bfevd/YMszDM0gAJLLnvz6v0XCetwG + WOTd+W9TcAVDMwiA5FL7X8O9hBUYZt3GqhkEQHJhLS//6wbPw22ATtoNnJIgOb/qh/81fKfhNgAfcMq9 + 8l/FYwIYQ4UGBWBgAAC+0b+zuQxOnAAAAABJRU5ErkJggg== @@ -312,6 +388,9 @@ 404, 17 + + 404, 17 + 777, 95 @@ -382,6 +461,18 @@ 8l/FYwIYQ4UGBWBgAAC+0b+zuQxOnAAAAABJRU5ErkJggg== + + 17, 56 + + + 1175, 56 + + + 17, 95 + + + 171, 56 + 171, 56 @@ -455,6 +546,9 @@ 691, 56 + + 691, 56 + 1175, 56 @@ -525,6 +619,9 @@ 171, 95 + + 171, 95 + 17, 95 @@ -595,6 +692,9 @@ 467, 134 + + 467, 134 + 17, 134 @@ -639,76 +739,6 @@ kqub/+6/S/4B3AZ4VN3/XzL3HVyzoksPXDFILn/am//2GdtxG2Bfevd/YMszDM0gAJLLnvz6v0XCetwG WOTd+W9TcAVDMwiA5FL7X8O9hBUYZt3GqhkEQHJhLS//6wbPw22ATtoNnJIgOb/qh/81fKfhNgAfcMq9 8l/FYwIYQ4UGBWBgAAC+0b+zuQxOnAAAAABJRU5ErkJggg== - - - - False - - - 1079, 134 - - - - iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO - wwAADsMBx2+oZAAAAUpJREFUOE9jGLzg7gL2/7fmcf6/Oofr/8UZvP+hwsSD60CNfx41/v/zsOH/yckC - pBtwfjov3ICDPSKkG3B8kiBQc93/Pw+q/u9oFydswKWZPP/PTuX7fxKo8Ui/0P993SJAzeX//94r+r++ - Qeb/qhq5/0srFf/PL1X+P6tIFdPAU0B//nlYD9RUC8SV///cKwHivP9/72b+/3sn+f/f23H//92MAOKQ - /5NyNDENONQrDHbu3/ulQI0FQI3ZQI2pQI0J///digZqDPv/70bQ/3/X/f53peliGrCzXeL/lmap/+vA - zpX/v6RC8f/fWzFAjeH/p+Zp/J+QpfW/O0P3f3uq/v/mREPCYTIb6E+Qc//dCPjfk6FDWAM6APnz3w1/ - IPb735qsT7oB3em6YP+CcH2cEekGtCQZ/G+IN/xfE2v8vzLahHQD6AQYGAAkI9iedfyIaQAAAABJRU5E - rkJggg== - - - - - iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO - wwAADsMBx2+oZAAAAW9JREFUOE+1kE0ow2Ecx3dV3krt4oJaOSCTvIRkMqSxyITIzCQHDouEdnFwIOVC - DrhIDiQl5UTiNG/z2ppafy1S2gX/uDwfY6i1v7Hie3nqeb7fz+/7/FR/Ilwn0G0Exw4fV5GJlXlEZxXC - rIet9bAQvB5Ymgn2sLYAvSZEux7RUQFzE4qQt4bCXAYjPaHvnDoCkLpsRGMB2JqCTGLIijDlwqQ9bEMV - i9OIytR3EMNWcJ/BWH8A6j8/bOGFxwXNxYEvGbMQ9XnQ1/K78KfY3/VXzkMY0qFGG2H4RoLGQshJQNbG - 86CNhdrsX9a/uQZTPhQl4rMY4OLofbl3aX7I8uwPC7y/g1YdjyVJuEvT8e1tfwUYteHUxCCfHChDeHmG - QQvokjlOU+PbWA0x3pZnILVVI3uvQyHsbiLnqnGmRCF1NYD8pDhpRxOH7HQoAKZGkFKjceszQbpSrumX - bO+G80MFwKUTxgfgcO/b8D9IpXoFiiMDHIQm0skAAAAASUVORK5CYII= - - - - - iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO - wwAADsMBx2+oZAAAASpJREFUOE9jGDygcNbz/00Lnv/PnPj4P1QIA4S3P8Apx5A789n/VUfe/8elKL77 - wf/ghmu4DciY8vT/wn0fsCqK73n4f+n+///9qy/gNiCh58n/aVveYyiKaL8P1pw56/9/r9ITuA2I7Hr0 - v3f1BxRFoa33wJpb1wFt7/z73yX/AG4DApsf/q+b/w6uKLjl7v9Fe///7wBqzpjz879d3c//9hnbcRvg - UXX/f/60NyiK7Ipv/0+f8/u/f9e3/zqF7/5bJKzHbYB96d3/2ZNfYyjSTzn/36ToxX+VrE//jSOX4TbA - Iu/O/9T+11gVGSSd+C+b9vW/bvA83AYYZt3+H9byEqci/dTL/zV8p+E2QCftxn+/6od4Fal4TMBtgFPu - lf8gBXgVDULAwAAA8HbAq6XlmnAAAAAASUVORK5CYII= - - - - - iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO - wwAADsMBx2+oZAAAALZJREFUOE9jGDogvP3BfyiTdBDf/eB/cMM18gyI73n4f+n+///9qy+QbkBE+32w - 5sxZ//97lZ4gzYDQ1ntgza3rgLZ3/v3vkn+AeAOCW+7+X7T3//8OoOaMOT//29X9/G+fsZ00F9gV3/6f - Puf3f/+ub/91Ct/9t0hYT3oY6Kec/29S9OK/Stan/8aRy0g3AAQMkk78l037+l83eB55BoCAfurl/xq+ - 08g3AARUPCZQZsBgBQwMANAUYJgEulBVAAAAAElFTkSuQmCC - - - - - iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO - wwAADsMBx2+oZAAAAKNJREFUOE9jGHygcNbz/1AmeSB35rP/Cd33yDckY8rT//P2//6f0HWHPEMSep78 - n73v1//OrX//u5VeJt2QyK5H/6ds+/W/ZOnf/wnT//63yT1LmiGBzQ//t659D9ZsXPLlv3T0tf/GkcuI - N8Sj6v7/krnv4JoVXXpIc4F96d3/gS3PyNMMAhZ5d/7bFFwhTzMIGGbdJl8zCOik3SBf81AEDAwAoH5f - oAc0QjgAAAAASUVORK5CYII= - - - - - iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO - wwAADsMBx2+oZAAAASxJREFUOE9jGFygcNbz/1AmBgDJNS14/j9z4mOcahhyZz77n9B9D6sCkNyqI+// - h7c/wG1AxpSn/+ft//0/oesOhiKQ3MJ9H/4HN1zDbUBCz5P/s/f9+t+59e9/t9LLKApBctO2vP/vX30B - twGRXY/+T9n263/J0r//E6b//W+TexauGCTXu/rDf6/SE7gNCGx++L917XuwZuOSL/+lo6/9N45cBtYA - kqub/+6/S/4B3AZ4VN3/XzL3HVyzoksPXDFILn/am//2GdtxG2Bfevd/YMszDM0gAJLLnvz6v0XCetwG - WOTd+W9TcAVDMwiA5FL7X8O9hBUYZt3GqhkEQHJhLS//6wbPw22ATtoNnJIgOb/qh/81fKfhNgAfcMq9 - 8l/FYwIYQ4UGBWBgAAC+0b+zuQxOnAAAAABJRU5ErkJggg== diff --git a/App/CONFIG_APP/frmMain.vb b/App/CONFIG_APP/frmMain.vb index 26cb12d..074fa38 100644 --- a/App/CONFIG_APP/frmMain.vb +++ b/App/CONFIG_APP/frmMain.vb @@ -1,5 +1,6 @@ Imports DigitalData.EMLProfiler Imports DigitalData.Modules.Logging +Imports DigitalData.Modules.Messaging Imports System.IO Imports System.Net Imports System.ComponentModel @@ -551,9 +552,13 @@ Public Class frmMain Select Case PROCESS_NAMEComboBox.Text Case "ProcessManager" txtSubjectExample.Text = "[ProcessManager][EA][DID#[%Dokument-ID]]" + Case "Attachment Sniffer" + lblDownloadPath.Text = "Download-Path Attachments:" + Case "ZugFeRD-Parser" + lblDownloadPath.Text = "Download-Path Attachments:" Case Else txtSubjectExample.Text = "" - + lblDownloadPath.Text = "Download-Path:" End Select End If End Sub @@ -809,4 +814,18 @@ Public Class frmMain Private Sub frmMain_ImeModeChanged(sender As Object, e As EventArgs) Handles Me.ImeModeChanged End Sub + + Private Sub Button6_Click(sender As Object, e As EventArgs) Handles Button6.Click + Dim _ss2email As New Email(MyLogger) + If txtTestmail.Text <> String.Empty Then + My.Settings.Save() + Dim PWPlain = _Encryption.DecryptData(EMAIL_PWTextBox.Text) + + If _ss2email.NewEmail(txtTestmail.Text, "Testmail SSMail", "This is the body (text will be replaced within profile)", EMAIL_FROMTextBox.Text, EMAIL_SMTPTextBox.Text, PORTTextBox.Text, EMAIL_USERTextBox.Text, PWPlain, AUTH_TYPEComboBox.Text, "GUI Test", "") = True Then + MsgBox("Email was send successfully.", MsgBoxStyle.Information) + Else + MsgBox("Could not send the testmail. Please check the log.", MsgBoxStyle.Exclamation) + End If + End If + End Sub End Class diff --git a/App/CONFIG_APP/obj/Debug/CONFIG_APP.exe b/App/CONFIG_APP/obj/Debug/CONFIG_APP.exe index 02e3f0a..996dcb7 100644 Binary files a/App/CONFIG_APP/obj/Debug/CONFIG_APP.exe and b/App/CONFIG_APP/obj/Debug/CONFIG_APP.exe differ diff --git a/App/CONFIG_APP/obj/Debug/CONFIG_APP.pdb b/App/CONFIG_APP/obj/Debug/CONFIG_APP.pdb index 6777e3e..e6d4130 100644 Binary files a/App/CONFIG_APP/obj/Debug/CONFIG_APP.pdb and b/App/CONFIG_APP/obj/Debug/CONFIG_APP.pdb differ diff --git a/App/CONFIG_APP/obj/Debug/CONFIG_APP.vbproj.CoreCompileInputs.cache b/App/CONFIG_APP/obj/Debug/CONFIG_APP.vbproj.CoreCompileInputs.cache index 02de3ca..3c452d2 100644 --- a/App/CONFIG_APP/obj/Debug/CONFIG_APP.vbproj.CoreCompileInputs.cache +++ b/App/CONFIG_APP/obj/Debug/CONFIG_APP.vbproj.CoreCompileInputs.cache @@ -1 +1 @@ -24c23c6a1a08822658338bc1efd1138033e53eb9 +089985a82f862c462782eef3bd09083ddec4bb21 diff --git a/App/CONFIG_APP/obj/Debug/CONFIG_APP.vbproj.FileListAbsolute.txt b/App/CONFIG_APP/obj/Debug/CONFIG_APP.vbproj.FileListAbsolute.txt index 7863c2f..c5bee02 100644 --- a/App/CONFIG_APP/obj/Debug/CONFIG_APP.vbproj.FileListAbsolute.txt +++ b/App/CONFIG_APP/obj/Debug/CONFIG_APP.vbproj.FileListAbsolute.txt @@ -1,3 +1,4 @@ +E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\CONFIG_APP\bin\Debug\DevExpress.Images.v18.1.dll E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\CONFIG_APP\bin\Debug\CONFIG_APP.exe.config E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\CONFIG_APP\bin\Debug\CONFIG_APP.exe E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\CONFIG_APP\bin\Debug\CONFIG_APP.pdb @@ -11,19 +12,23 @@ E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\CONFIG_APP\bin\Debug\DevExp E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\CONFIG_APP\bin\Debug\DevExpress.XtraPrinting.v18.1.dll E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\CONFIG_APP\bin\Debug\DigitalData.EMLProfiler.dll E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\CONFIG_APP\bin\Debug\DigitalData.Modules.Logging.dll +E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\CONFIG_APP\bin\Debug\DigitalData.Modules.Messaging.dll E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\CONFIG_APP\bin\Debug\Independentsoft.Email.dll E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\CONFIG_APP\bin\Debug\NLog.dll +E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\CONFIG_APP\bin\Debug\S22.Imap.dll +E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\CONFIG_APP\bin\Debug\Interop.WINDREAMLib.dll +E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\CONFIG_APP\bin\Debug\DigitalData.Modules.Database.dll E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\CONFIG_APP\bin\Debug\DevExpress.Pdf.v18.1.Core.dll E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\CONFIG_APP\bin\Debug\DevExpress.Sparkline.v18.1.Core.dll E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\CONFIG_APP\bin\Debug\DevExpress.XtraBars.v18.1.dll E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\CONFIG_APP\bin\Debug\DevExpress.RichEdit.v18.1.Core.dll E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\CONFIG_APP\bin\Debug\DevExpress.XtraTreeList.v18.1.dll -E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\CONFIG_APP\bin\Debug\Interop.WINDREAMLib.dll -E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\CONFIG_APP\bin\Debug\DigitalData.Modules.Database.dll -E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\CONFIG_APP\bin\Debug\DevExpress.Office.v18.1.Core.dll -E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\CONFIG_APP\bin\Debug\DevExpress.Images.v18.1.dll E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\CONFIG_APP\bin\Debug\FirebirdSql.Data.FirebirdClient.dll E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\CONFIG_APP\bin\Debug\Oracle.ManagedDataAccess.dll +E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\CONFIG_APP\bin\Debug\DevExpress.Office.v18.1.Core.dll +E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\CONFIG_APP\bin\Debug\DigitalData.EMLProfiler.pdb +E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\CONFIG_APP\bin\Debug\DigitalData.EMLProfiler.xml +E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\CONFIG_APP\bin\Debug\DigitalData.EMLProfiler.dll.config E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\CONFIG_APP\bin\Debug\DevExpress.Data.v18.1.xml E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\CONFIG_APP\bin\Debug\DevExpress.Printing.v18.1.Core.xml E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\CONFIG_APP\bin\Debug\DevExpress.Utils.v18.1.xml @@ -31,23 +36,23 @@ E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\CONFIG_APP\bin\Debug\DevExp E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\CONFIG_APP\bin\Debug\DevExpress.XtraGrid.v18.1.xml E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\CONFIG_APP\bin\Debug\DevExpress.XtraLayout.v18.1.xml E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\CONFIG_APP\bin\Debug\DevExpress.XtraPrinting.v18.1.xml -E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\CONFIG_APP\bin\Debug\DigitalData.EMLProfiler.pdb -E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\CONFIG_APP\bin\Debug\DigitalData.EMLProfiler.xml -E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\CONFIG_APP\bin\Debug\DigitalData.EMLProfiler.dll.config E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\CONFIG_APP\bin\Debug\DigitalData.Modules.Logging.pdb E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\CONFIG_APP\bin\Debug\DigitalData.Modules.Logging.xml +E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\CONFIG_APP\bin\Debug\DigitalData.Modules.Messaging.pdb +E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\CONFIG_APP\bin\Debug\DigitalData.Modules.Messaging.xml E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\CONFIG_APP\bin\Debug\Independentsoft.Email.xml E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\CONFIG_APP\bin\Debug\NLog.xml +E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\CONFIG_APP\bin\Debug\S22.Imap.xml +E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\CONFIG_APP\bin\Debug\DigitalData.Modules.Database.pdb +E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\CONFIG_APP\bin\Debug\DigitalData.Modules.Database.xml +E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\CONFIG_APP\bin\Debug\DigitalData.Modules.Database.dll.config E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\CONFIG_APP\bin\Debug\DevExpress.Pdf.v18.1.Core.xml E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\CONFIG_APP\bin\Debug\DevExpress.Sparkline.v18.1.Core.xml E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\CONFIG_APP\bin\Debug\DevExpress.XtraBars.v18.1.xml E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\CONFIG_APP\bin\Debug\DevExpress.RichEdit.v18.1.Core.xml E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\CONFIG_APP\bin\Debug\DevExpress.XtraTreeList.v18.1.xml -E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\CONFIG_APP\bin\Debug\DigitalData.Modules.Database.pdb -E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\CONFIG_APP\bin\Debug\DigitalData.Modules.Database.xml -E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\CONFIG_APP\bin\Debug\DigitalData.Modules.Database.dll.config -E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\CONFIG_APP\bin\Debug\DevExpress.Office.v18.1.Core.xml E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\CONFIG_APP\bin\Debug\FirebirdSql.Data.FirebirdClient.pdb +E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\CONFIG_APP\bin\Debug\DevExpress.Office.v18.1.Core.xml E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\CONFIG_APP\bin\Debug\de\DevExpress.Data.v18.1.resources.dll E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\CONFIG_APP\bin\Debug\es\DevExpress.Data.v18.1.resources.dll E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\CONFIG_APP\bin\Debug\ja\DevExpress.Data.v18.1.resources.dll @@ -100,6 +105,7 @@ E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\CONFIG_APP\bin\Debug\de\Dev E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\CONFIG_APP\bin\Debug\es\DevExpress.Office.v18.1.Core.resources.dll E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\CONFIG_APP\bin\Debug\ja\DevExpress.Office.v18.1.Core.resources.dll E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\CONFIG_APP\bin\Debug\ru\DevExpress.Office.v18.1.Core.resources.dll +E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\CONFIG_APP\obj\Debug\CONFIG_APP.vbprojAssemblyReference.cache E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\CONFIG_APP\obj\Debug\CONFIG_APP.frmMain.resources E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\CONFIG_APP\obj\Debug\CONFIG_APP.Resources.resources E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\CONFIG_APP\obj\Debug\CONFIG_APP.vbproj.GenerateResource.cache @@ -109,6 +115,3 @@ E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\CONFIG_APP\obj\Debug\CONFIG E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\CONFIG_APP\obj\Debug\CONFIG_APP.exe E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\CONFIG_APP\obj\Debug\CONFIG_APP.xml E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\CONFIG_APP\obj\Debug\CONFIG_APP.pdb -E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\CONFIG_APP\obj\Debug\CONFIG_APP.vbprojAssemblyReference.cache -E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\CONFIG_APP\bin\Debug\S22.Imap.dll -E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\CONFIG_APP\bin\Debug\S22.Imap.xml diff --git a/App/CONFIG_APP/obj/Debug/CONFIG_APP.vbproj.GenerateResource.cache b/App/CONFIG_APP/obj/Debug/CONFIG_APP.vbproj.GenerateResource.cache index f9bf71f..9ffde11 100644 Binary files a/App/CONFIG_APP/obj/Debug/CONFIG_APP.vbproj.GenerateResource.cache and b/App/CONFIG_APP/obj/Debug/CONFIG_APP.vbproj.GenerateResource.cache differ diff --git a/App/CONFIG_APP/obj/Debug/CONFIG_APP.vbprojAssemblyReference.cache b/App/CONFIG_APP/obj/Debug/CONFIG_APP.vbprojAssemblyReference.cache index ad737e8..51f1aba 100644 Binary files a/App/CONFIG_APP/obj/Debug/CONFIG_APP.vbprojAssemblyReference.cache and b/App/CONFIG_APP/obj/Debug/CONFIG_APP.vbprojAssemblyReference.cache differ diff --git a/App/CONFIG_APP/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/App/CONFIG_APP/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache index 8bae8de..61c6f09 100644 Binary files a/App/CONFIG_APP/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache and b/App/CONFIG_APP/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/App/DigitalData.EMLProfiler/ClassCurrent.vb b/App/DigitalData.EMLProfiler/ClassCurrent.vb index b42bf36..51841a9 100644 --- a/App/DigitalData.EMLProfiler/ClassCurrent.vb +++ b/App/DigitalData.EMLProfiler/ClassCurrent.vb @@ -36,6 +36,7 @@ Public Class ClassCurrent Public Shared CURRENT_MAIL_BODY_ANSWER1 As String = "" Public Shared CURRENT_MAIL_BODY_Substr2 As String = "" Public Shared CURRENT_MAIL_SUBJECT As String = "" + Public Shared CURRENT_MAIL_FROM As String = "" Public Shared CURRENT_MAIL_PROCESS_NAME As String Public Shared CURRENT_POLL_TYPE As String diff --git a/App/DigitalData.EMLProfiler/My Project/AssemblyInfo.vb b/App/DigitalData.EMLProfiler/My Project/AssemblyInfo.vb index 49a70db..c122538 100644 --- a/App/DigitalData.EMLProfiler/My Project/AssemblyInfo.vb +++ b/App/DigitalData.EMLProfiler/My Project/AssemblyInfo.vb @@ -31,5 +31,5 @@ Imports System.Runtime.InteropServices ' übernehmen, indem Sie "*" eingeben: ' - + diff --git a/App/DigitalData.EMLProfiler/bin/Debug/DigitalData.EMLProfiler.dll b/App/DigitalData.EMLProfiler/bin/Debug/DigitalData.EMLProfiler.dll index 85fc05f..1101777 100644 Binary files a/App/DigitalData.EMLProfiler/bin/Debug/DigitalData.EMLProfiler.dll and b/App/DigitalData.EMLProfiler/bin/Debug/DigitalData.EMLProfiler.dll differ diff --git a/App/DigitalData.EMLProfiler/bin/Debug/DigitalData.EMLProfiler.pdb b/App/DigitalData.EMLProfiler/bin/Debug/DigitalData.EMLProfiler.pdb index 64d86a1..c20a628 100644 Binary files a/App/DigitalData.EMLProfiler/bin/Debug/DigitalData.EMLProfiler.pdb and b/App/DigitalData.EMLProfiler/bin/Debug/DigitalData.EMLProfiler.pdb differ diff --git a/App/DigitalData.EMLProfiler/bin/Debug/DigitalData.Modules.Database.dll b/App/DigitalData.EMLProfiler/bin/Debug/DigitalData.Modules.Database.dll index 02cdf94..83b76de 100644 Binary files a/App/DigitalData.EMLProfiler/bin/Debug/DigitalData.Modules.Database.dll and b/App/DigitalData.EMLProfiler/bin/Debug/DigitalData.Modules.Database.dll differ diff --git a/App/DigitalData.EMLProfiler/bin/Debug/DigitalData.Modules.Database.pdb b/App/DigitalData.EMLProfiler/bin/Debug/DigitalData.Modules.Database.pdb index af67b3d..6cc2765 100644 Binary files a/App/DigitalData.EMLProfiler/bin/Debug/DigitalData.Modules.Database.pdb and b/App/DigitalData.EMLProfiler/bin/Debug/DigitalData.Modules.Database.pdb differ diff --git a/App/DigitalData.EMLProfiler/bin/Debug/DigitalData.Modules.Database.xml b/App/DigitalData.EMLProfiler/bin/Debug/DigitalData.Modules.Database.xml index 813fc06..688fc25 100644 --- a/App/DigitalData.EMLProfiler/bin/Debug/DigitalData.Modules.Database.xml +++ b/App/DigitalData.EMLProfiler/bin/Debug/DigitalData.Modules.Database.xml @@ -71,10 +71,11 @@ DigitalData.Modules.Database - - - - + The LogFactory containing the current log config. Used to instanciate the class logger for this and any dependent class + The server where the database lives, for example 127.0.0.1 or dd-vmx09-vm03 + The location of the Database in the format `127.0.0.1:E:\Path\To\Database.FDB` + The user name to connect as + The user's password @@ -172,7 +173,7 @@ DigitalData.Modules.Database Returns a datatable for a sql-statement sqlcommand for datatable (select XYZ from TableORView) - Optional Timeout + Optional Timeout Returns a datatable @@ -181,7 +182,16 @@ DigitalData.Modules.Database Executes the passed sql-statement the sql statement - Optional Timeout + Optional Timeout + Returns true if properly executed, else false + + + + + Executes the passed sql-statement as Scalar + + the sql statement + Optional Timeout Returns true if properly executed, else false @@ -193,14 +203,5 @@ DigitalData.Modules.Database Optional Timeout - - - Executes the passed sql-statement as Scalar - - the sql statement - Optional Timeout - Returns true if properly executed, else false - - diff --git a/App/DigitalData.EMLProfiler/bin/Debug/DigitalData.Modules.Logging.dll b/App/DigitalData.EMLProfiler/bin/Debug/DigitalData.Modules.Logging.dll index a6289d7..59a48e9 100644 Binary files a/App/DigitalData.EMLProfiler/bin/Debug/DigitalData.Modules.Logging.dll and b/App/DigitalData.EMLProfiler/bin/Debug/DigitalData.Modules.Logging.dll differ diff --git a/App/DigitalData.EMLProfiler/bin/Debug/DigitalData.Modules.Logging.pdb b/App/DigitalData.EMLProfiler/bin/Debug/DigitalData.Modules.Logging.pdb index 40c1908..0253ab2 100644 Binary files a/App/DigitalData.EMLProfiler/bin/Debug/DigitalData.Modules.Logging.pdb and b/App/DigitalData.EMLProfiler/bin/Debug/DigitalData.Modules.Logging.pdb differ diff --git a/App/DigitalData.EMLProfiler/clsEmail.vb b/App/DigitalData.EMLProfiler/clsEmail.vb index 4b10977..67c5f24 100644 --- a/App/DigitalData.EMLProfiler/clsEmail.vb +++ b/App/DigitalData.EMLProfiler/clsEmail.vb @@ -191,23 +191,24 @@ Public Class clsEmail Try client.Connect() Catch ex As Exception - Logger.Warn("clsEmail.Client.Connect: " & ex.Message) + Logger.Warn("clsEmail.Client.Connect1: " & ex.Message) + Logger.Debug("Error in ClientConnect - but still trying to send") _error = True ' Continue For End Try - Logger.Info("Connected to Client!") + Logger.Debug("Connected to Client!") If AUTH_TYPE = "SSL" Then client.EnableSsl = True 'client.ValidateRemoteCertificate = True - Logger.Info("Authentification via SSL.") + Logger.Debug("Authentification via SSL.") ElseIf AUTH_TYPE = "TLS" Then ' client.ValidateRemoteCertificate = False client.StartTls() client.EnableSsl = False - Logger.Info("Authentification via TLS. SSL disabled") + Logger.Debug("Authentification via TLS. SSL disabled") Else client.EnableSsl = False - Logger.Info("Authentification NONE. SSL disabled") + Logger.Debug("Authentification NONE. SSL disabled") End If Try @@ -224,7 +225,7 @@ Public Class clsEmail client.Login(mailUser, mailPW) End If - Logger.Info("Logged in!") + Logger.Debug("Logged in!") Catch ex As Exception Try If mailsmtp.Contains("office365.com") Then diff --git a/App/DigitalData.EMLProfiler/clsWorkEmail.vb b/App/DigitalData.EMLProfiler/clsWorkEmail.vb index 96d837b..27ab228 100644 --- a/App/DigitalData.EMLProfiler/clsWorkEmail.vb +++ b/App/DigitalData.EMLProfiler/clsWorkEmail.vb @@ -47,6 +47,8 @@ Public Class clsWorkEmail CURRENT_MAIL_SUBJECT = "" End If + CURRENT_MAIL_FROM = msg.From.EmailAddress + Dim oTempMailExists As Boolean = SAVE2TEMP() 'Checking wether Mail can be opened Dim oTempMailAccessible As Boolean = False @@ -138,12 +140,15 @@ Public Class clsWorkEmail Dim oDel_email As Boolean = False Logger.Info(String.Format("COMMON_EMAIL_IN...Subject [{0}]", CURRENT_MAIL_MESSAGE.Subject)) Logger.Debug(String.Format("COMMON_EMAIL_IN...Subject [{0}]", CURRENT_MAIL_MESSAGE.Subject)) - Dim oExpression = "PROCESS_NAME = 'Attachment Sniffer'" - CURRENT_MAIL_PROCESS_NAME = "Attachment Sniffer" + Dim oExpression = "PROCESS_NAME = 'Attachment Sniffer' or PROCESS_NAME = 'ZugFeRD-Parser'" + 'Filter the rows using Select() method of DataTable Dim TEMP_PROCESS_PROFILE_DT As DataTable = DT_POLL_PROCESS Dim PM_ROW As DataRow() = TEMP_PROCESS_PROFILE_DT.Select(oExpression) + For Each oDataRow As DataRow In PM_ROW + oDel_email = oDataRow("DELETE_MAIL") + CURRENT_MAIL_PROCESS_NAME = oDataRow.Item("PROCESS_NAME") Try WM_REFERENCE_INDEX = oDataRow("WM_REFERENCE_INDEX") Catch ex As Exception @@ -161,8 +166,7 @@ Public Class clsWorkEmail COPY2HDD(oDataRow("COPY_2_HDD"), oDataRow("PATH_ORIGINAL"), oDataRow("PATH_EMAIL_ERRORS"), True) EXTRACT_ATTACHMENTS(oDataRow("PATH_EMAIL_TEMP"), oDataRow("PATH_EMAIL_ERRORS")) - 'EXTRACT_BODY() - oDel_email = oDataRow("DELETE_MAIL") + Next If ClassCurrent.CURRENT_DEBUG_LOCAL_EMAIL = "" Then EMAIL_DELETE(oDel_email) @@ -445,7 +449,7 @@ Public Class clsWorkEmail oMSGID = oMSGID.Replace(">", "").Replace("<", "") For Each oAttachment As Attachment In oCurrentMail.GetAttachments Dim oAttachmentFileString - Logger.Debug(String.Format("Working on Attachment [{0}]", oAttachment.GetFileName)) + Logger.Debug(String.Format(" Working on Attachment [{0}]", oAttachment.GetFileName)) Try Dim oFilename = oAttachment.GetFileName oFilename = CleanInput(oFilename) @@ -507,14 +511,15 @@ Public Class clsWorkEmail Private Function INSERT_HISTORY() If MessageError = False Then - Dim ins = $"INSERT INTO TBEMLP_HISTORY (WORK_PROCESS,EMAIL_MSGID,EMAIL_SUBJECT,EMAIL_DATE,EMAIL_BODY,EMAIL_SUBSTRING1,EMAIL_SUBSTRING2) VALUES " & + Dim ins = $"INSERT INTO TBEMLP_HISTORY (WORK_PROCESS,EMAIL_MSGID,EMAIL_SUBJECT,EMAIL_DATE,EMAIL_BODY,EMAIL_SUBSTRING1,EMAIL_SUBSTRING2,EMAIL_FROM) VALUES " & $"('{CURRENT_MAIL_PROCESS_NAME}'," & $"'{CURRENT_MAIL_MESSAGE.MessageID.Replace("<", "").Replace(">", "")}'," & $"'{CURRENT_MAIL_MESSAGE.Subject}'," & $"'{CURRENT_MAIL_MESSAGE.Date}'," & $"'{CURRENT_MAIL_BODY_ALL}'," & $"'{CURRENT_MAIL_BODY_ANSWER1}'," & - $"'{CURRENT_MAIL_BODY_Substr2}')" + $"'{CURRENT_MAIL_BODY_Substr2}'," & + $"'{CURRENT_MAIL_FROM}')" _Database.Execute_non_Query(ins) End If diff --git a/App/DigitalData.EMLProfiler/obj/Debug/DigitalData.EMLProfiler.dll b/App/DigitalData.EMLProfiler/obj/Debug/DigitalData.EMLProfiler.dll index 85fc05f..1101777 100644 Binary files a/App/DigitalData.EMLProfiler/obj/Debug/DigitalData.EMLProfiler.dll and b/App/DigitalData.EMLProfiler/obj/Debug/DigitalData.EMLProfiler.dll differ diff --git a/App/DigitalData.EMLProfiler/obj/Debug/DigitalData.EMLProfiler.pdb b/App/DigitalData.EMLProfiler/obj/Debug/DigitalData.EMLProfiler.pdb index 64d86a1..c20a628 100644 Binary files a/App/DigitalData.EMLProfiler/obj/Debug/DigitalData.EMLProfiler.pdb and b/App/DigitalData.EMLProfiler/obj/Debug/DigitalData.EMLProfiler.pdb differ diff --git a/App/DigitalData.EMLProfiler/obj/Debug/DigitalData.EMLProfiler.vbproj.FileListAbsolute.txt b/App/DigitalData.EMLProfiler/obj/Debug/DigitalData.EMLProfiler.vbproj.FileListAbsolute.txt index 798d95c..cb75be7 100644 --- a/App/DigitalData.EMLProfiler/obj/Debug/DigitalData.EMLProfiler.vbproj.FileListAbsolute.txt +++ b/App/DigitalData.EMLProfiler/obj/Debug/DigitalData.EMLProfiler.vbproj.FileListAbsolute.txt @@ -21,7 +21,6 @@ E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\DigitalData.EMLProfiler\bin E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\DigitalData.EMLProfiler\bin\Debug\NLog.xml E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\DigitalData.EMLProfiler\bin\Debug\S22.Imap.xml E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\DigitalData.EMLProfiler\bin\Debug\FirebirdSql.Data.FirebirdClient.pdb -E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\DigitalData.EMLProfiler\obj\Debug\DigitalData.EMLProfiler.vbprojAssemblyReference.cache E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\DigitalData.EMLProfiler\obj\Debug\DigitalData.EMLProfiler.Resources.resources E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\DigitalData.EMLProfiler\obj\Debug\DigitalData.EMLProfiler.vbproj.GenerateResource.cache E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\DigitalData.EMLProfiler\obj\Debug\DigitalData.EMLProfiler.vbproj.CoreCompileInputs.cache diff --git a/App/DigitalData.EMLProfiler/obj/Debug/DigitalData.EMLProfiler.vbprojAssemblyReference.cache b/App/DigitalData.EMLProfiler/obj/Debug/DigitalData.EMLProfiler.vbprojAssemblyReference.cache deleted file mode 100644 index b57d0f2..0000000 Binary files a/App/DigitalData.EMLProfiler/obj/Debug/DigitalData.EMLProfiler.vbprojAssemblyReference.cache and /dev/null differ diff --git a/App/SERV_EMAIL/My Project/AssemblyInfo.vb b/App/SERV_EMAIL/My Project/AssemblyInfo.vb index bc76a40..57c7de1 100644 --- a/App/SERV_EMAIL/My Project/AssemblyInfo.vb +++ b/App/SERV_EMAIL/My Project/AssemblyInfo.vb @@ -31,5 +31,5 @@ Imports System.Runtime.InteropServices ' übernehmen, indem Sie "*" eingeben: ' - + diff --git a/App/SERV_EMAIL/bin/Debug/DigitalData.EMLProfiler.dll b/App/SERV_EMAIL/bin/Debug/DigitalData.EMLProfiler.dll index 85fc05f..90e4f97 100644 Binary files a/App/SERV_EMAIL/bin/Debug/DigitalData.EMLProfiler.dll and b/App/SERV_EMAIL/bin/Debug/DigitalData.EMLProfiler.dll differ diff --git a/App/SERV_EMAIL/bin/Debug/DigitalData.EMLProfiler.pdb b/App/SERV_EMAIL/bin/Debug/DigitalData.EMLProfiler.pdb index 64d86a1..469e186 100644 Binary files a/App/SERV_EMAIL/bin/Debug/DigitalData.EMLProfiler.pdb and b/App/SERV_EMAIL/bin/Debug/DigitalData.EMLProfiler.pdb differ diff --git a/App/SERV_EMAIL/bin/Debug/SERV_EMAIL.exe b/App/SERV_EMAIL/bin/Debug/SERV_EMAIL.exe index 15cb488..95f6563 100644 Binary files a/App/SERV_EMAIL/bin/Debug/SERV_EMAIL.exe and b/App/SERV_EMAIL/bin/Debug/SERV_EMAIL.exe differ diff --git a/App/SERV_EMAIL/bin/Debug/SERV_EMAIL.pdb b/App/SERV_EMAIL/bin/Debug/SERV_EMAIL.pdb index d3a10e7..54ef638 100644 Binary files a/App/SERV_EMAIL/bin/Debug/SERV_EMAIL.pdb and b/App/SERV_EMAIL/bin/Debug/SERV_EMAIL.pdb differ diff --git a/App/SERV_EMAIL/obj/Debug/SERV_EMAIL.exe b/App/SERV_EMAIL/obj/Debug/SERV_EMAIL.exe index 15cb488..95f6563 100644 Binary files a/App/SERV_EMAIL/obj/Debug/SERV_EMAIL.exe and b/App/SERV_EMAIL/obj/Debug/SERV_EMAIL.exe differ diff --git a/App/SERV_EMAIL/obj/Debug/SERV_EMAIL.pdb b/App/SERV_EMAIL/obj/Debug/SERV_EMAIL.pdb index d3a10e7..54ef638 100644 Binary files a/App/SERV_EMAIL/obj/Debug/SERV_EMAIL.pdb and b/App/SERV_EMAIL/obj/Debug/SERV_EMAIL.pdb differ diff --git a/App/SERV_EMAIL/obj/Debug/SERV_EMAIL.vbprojAssemblyReference.cache b/App/SERV_EMAIL/obj/Debug/SERV_EMAIL.vbprojAssemblyReference.cache index 0273ad8..0ca8d53 100644 Binary files a/App/SERV_EMAIL/obj/Debug/SERV_EMAIL.vbprojAssemblyReference.cache and b/App/SERV_EMAIL/obj/Debug/SERV_EMAIL.vbprojAssemblyReference.cache differ