diff --git a/App/.vs/SERV_EMAIL/v16/.suo b/App/.vs/SERV_EMAIL/v16/.suo
index 6417c7c..353c14e 100644
Binary files a/App/.vs/SERV_EMAIL/v16/.suo and b/App/.vs/SERV_EMAIL/v16/.suo differ
diff --git a/App/CONFIG_APP/CONFIG_APP.vbproj b/App/CONFIG_APP/CONFIG_APP.vbproj
index 7dbc63b..e2860b1 100644
--- a/App/CONFIG_APP/CONFIG_APP.vbproj
+++ b/App/CONFIG_APP/CONFIG_APP.vbproj
@@ -64,17 +64,10 @@
False
..\..\..\DDMonorepo\Modules.Messaging\bin\Debug\DigitalData.Modules.Messaging.dll
-
- False
- P:\Projekte DIGITAL DATA\DIGITAL DATA - Entwicklung\DLL_Bibliotheken\Email .NET\Bin\Independentsoft.Email.dll
-
..\packages\NLog.4.7.10\lib\net45\NLog.dll
-
- ..\packages\S22.Imap.3.6.0.0\lib\net40\S22.Imap.dll
-
diff --git a/App/CONFIG_APP/My Project/AssemblyInfo.vb b/App/CONFIG_APP/My Project/AssemblyInfo.vb
index 76b26e7..54aa251 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 c062869..e09c811 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 b8bcb43..9dee295 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 dc6cd44..964626e 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 a057004..53b431f 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 773dc1f..b8807cd 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 5620b73..f9fd742 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.Filesystem.dll b/App/CONFIG_APP/bin/Debug/DigitalData.Modules.Filesystem.dll
index 2bf8a60..22b2332 100644
Binary files a/App/CONFIG_APP/bin/Debug/DigitalData.Modules.Filesystem.dll and b/App/CONFIG_APP/bin/Debug/DigitalData.Modules.Filesystem.dll differ
diff --git a/App/CONFIG_APP/bin/Debug/DigitalData.Modules.Filesystem.pdb b/App/CONFIG_APP/bin/Debug/DigitalData.Modules.Filesystem.pdb
index 75fdd19..6ce66a3 100644
Binary files a/App/CONFIG_APP/bin/Debug/DigitalData.Modules.Filesystem.pdb and b/App/CONFIG_APP/bin/Debug/DigitalData.Modules.Filesystem.pdb differ
diff --git a/App/CONFIG_APP/bin/Debug/DigitalData.Modules.Language.dll b/App/CONFIG_APP/bin/Debug/DigitalData.Modules.Language.dll
index 3d01049..c9edd87 100644
Binary files a/App/CONFIG_APP/bin/Debug/DigitalData.Modules.Language.dll and b/App/CONFIG_APP/bin/Debug/DigitalData.Modules.Language.dll differ
diff --git a/App/CONFIG_APP/bin/Debug/DigitalData.Modules.Language.pdb b/App/CONFIG_APP/bin/Debug/DigitalData.Modules.Language.pdb
index 7b583dc..6aaa49e 100644
Binary files a/App/CONFIG_APP/bin/Debug/DigitalData.Modules.Language.pdb and b/App/CONFIG_APP/bin/Debug/DigitalData.Modules.Language.pdb differ
diff --git a/App/CONFIG_APP/bin/Debug/DigitalData.Modules.Logging.dll b/App/CONFIG_APP/bin/Debug/DigitalData.Modules.Logging.dll
index b7bed41..901428b 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 c6cb51f..a64795e 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
index c6edc7f..f8f0e85 100644
Binary files a/App/CONFIG_APP/bin/Debug/DigitalData.Modules.Messaging.dll 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
index 94bb30d..52698e1 100644
Binary files a/App/CONFIG_APP/bin/Debug/DigitalData.Modules.Messaging.pdb 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
index 570e852..27ddf09 100644
--- a/App/CONFIG_APP/bin/Debug/DigitalData.Modules.Messaging.xml
+++ b/App/CONFIG_APP/bin/Debug/DigitalData.Modules.Messaging.xml
@@ -22,31 +22,6 @@ DigitalData.Modules.Messaging
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.
@@ -80,7 +55,7 @@ DigitalData.Modules.Messaging
The optional suffix to add to the original filename.
The path of the new EML without attachments.
-
+
Initializes the module.
@@ -97,7 +72,7 @@ DigitalData.Modules.Messaging
True if connection and query were successful. False otherwise.
-
+
Creates a MailObject and sends Mail via smtp.
diff --git a/App/CONFIG_APP/bin/Debug/Independentsoft.Msg.dll b/App/CONFIG_APP/bin/Debug/Independentsoft.Msg.dll
deleted file mode 100644
index cb99b88..0000000
Binary files a/App/CONFIG_APP/bin/Debug/Independentsoft.Msg.dll and /dev/null differ
diff --git a/App/CONFIG_APP/bin/Debug/Independentsoft.Msg.xml b/App/CONFIG_APP/bin/Debug/Independentsoft.Msg.xml
deleted file mode 100644
index cd4ad0a..0000000
--- a/App/CONFIG_APP/bin/Debug/Independentsoft.Msg.xml
+++ /dev/null
@@ -1,4492 +0,0 @@
-
-
-
- Independentsoft.Msg
-
-
-
-
- Represents a file used to store data as virtual streams.
-
-
-
-
- Initializes a new instance of the CompoundFile class.
-
-
-
-
- Initializes a new instance of the CompoundFile class based on the supplied file.
-
- File path.
-
-
-
- Initializes a new instance of the CompoundFile class based on the supplied stream.
-
- A stream.
-
-
-
- Opens compound file from the specified file.
-
- File path.
-
-
-
- Opens compound file from the specified stream.
-
- A stream.
-
-
-
- Gets stream to read from this compound file.
-
-
-
-
-
- Gets buffer to read from this compound file.
-
-
-
-
-
- Saves this compound file to the specified file.
-
- File path.
-
-
-
- Saves this compound file to the specified file.
-
- File path.
- True to overwrite existing file, otherwise false.
-
-
-
- Saves this compound file to the specified stream.
-
- A stream.
-
-
-
- Gets the root node.
-
-
-
-
- Gets or sets major version. Allowed values are 3 (512 bytes sector size) or 4 (4096 bytes sector size).
-
-
-
-
- Gets FAT sector size.
-
-
-
-
- Gets size of mini sectors.
-
-
-
-
- Gets FAT sector count.
-
-
-
-
- Gets maximum size of mini streams.
-
-
-
-
- Gets count of mini FAT sectors.
-
-
-
-
- Gets or sets compound file class ID.
-
-
-
-
- Represents a directory entry.
-
-
-
-
- Compares this instance with the specified object and indicates whether this instance precedes, follows, or appears in the same position in the sort order as the specified DirectoryEntry.
-
- A DirectoryEntry
- A 32-bit signed integer that indicates whether this instance precedes, follows, or appears in the same position in the sort order as the value parameter.
-
-
-
- Gets or sets name.
-
-
-
-
- Gets creation time.
-
-
-
-
- Gets last modified time.
-
-
-
-
- Gets size.
-
-
-
-
- Gets or sets class ID.
-
-
-
-
- Description of DirectoryEntryList.
-
-
-
-
- Gets the with the specified name.
-
- The name.
- DirectoryEntry.
-
-
-
- The exception that is thrown when an input file or a data stream that is supposed to conform to a certain file format specification is malformed.
-
-
-
-
- Creates a new instance of the InvalidFileFormatException class.
-
-
-
-
- Creates a new instance of the InvalidFileFormatException class with the specified error message.
-
- The message that describes the error.
-
-
-
- Creates a new instance of the InvalidFileFormatException class with the specified error message and inner exception.
-
- The message that describes the error.
- The exception that is the cause of the current exception. If the innerException parameter is not a null reference (Nothing in Visual Basic), the current exception is raised in a catch block that handles the inner exception.
-
-
-
- Represents a root node.
-
-
- RootDirectoryEntry object in a compound file that must be accessed before any other objects and objects are referenced. It is the uppermost parent object in the storage object and stream object hierarchy.
-
-
-
-
- Gets root's name.
-
-
-
-
- Gets collection of .
-
-
-
-
- Contains collection of .
-
-
- Storage is analogous to a file system directory. The parent object of a storage object must be another storage object or the .
-
-
-
-
- Initializes a new instance of the Storage class.
-
-
-
-
- Initializes a new instance of the Storage class.
-
- Storage name.
-
-
-
- Gets collection of .
-
-
-
-
- Represents a virtual stream to store data.
-
-
- Stream is analogous to a file system file. The parent object of a stream object must be a object or the .
-
-
-
-
- Initializes a new instance of the Stream class.
-
-
-
-
- Initializes a new instance of the Stream class and load data from the specified file.
-
- File path.
-
-
-
- Initializes a new instance of the Stream class and load data from the specified .
-
- Stream name.
- A stream.
-
-
-
- Initializes a new instance of the Stream class and load data from the specified buffer.
-
- Stream name.
- Data buffer.
-
-
-
- Loads data to this stream from the specified file.
-
- File path.
-
-
-
- Loads data to this stream from the specified .
-
- Stream name.
- A stream.
-
-
-
- Loads data to this stream from the specified buffer.
-
- Stream name.
- Data buffer.
-
-
-
- Saves data from this stream to to the specified file.
-
- File path.
-
-
-
- Saves data from this stream to the specified .
-
- A stream.
-
-
-
- Gets to read data from this stream.
-
-
-
-
-
- Gets or sets streams data.
-
-
-
-
- Class Attachment.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class.
-
- The file path.
-
-
-
- Initializes a new instance of the class.
-
- The stream.
-
-
-
- Initializes a new instance of the class.
-
- The buffer.
-
-
-
- Initializes a new instance of the class.
-
- The stream.
- The name.
-
-
-
- Initializes a new instance of the class.
-
- The buffer.
- The name.
-
-
-
- Saves the specified stream.
-
- The stream.
- stream
-
-
-
- Saves this message to the specified file.
-
- File path.
-
-
-
- Saves this message to the specified file.
-
- File path.
- True to overwrite existing file, otherwise false.
-
-
-
- Gets the stream.
-
- Stream.
-
-
-
- Gets the bytes.
-
- System.Byte[][].
-
-
-
- Gets the name of the file.
-
- System.String.
-
-
-
- Returns a that represents this instance.
-
- A that represents this instance.
-
-
-
- Gets or sets the name.
-
- The name.
-
-
-
- Gets or sets the type of the content.
-
- The type of the content.
-
-
-
- Gets or sets the content identifier.
-
- The content identifier.
-
-
-
- Gets or sets the content location.
-
- The content location.
-
-
-
- Gets or sets the content description.
-
- The content description.
-
-
-
- Gets or sets the content disposition.
-
- The content disposition.
-
-
-
- Class BodyPart.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class.
-
- The attachment.
-
-
-
- Saves the specified file path.
-
- The file path.
-
-
-
- Saves the specified file path.
-
- The file path.
- if set to true [overwrite].
-
-
-
- Saves the specified stream.
-
- The stream.
- stream
-
-
-
- Gets the bytes.
-
- System.Byte[][].
-
-
-
- Gets the stream.
-
- Stream.
-
-
-
- Returns a that represents this instance.
-
- A that represents this instance.
-
-
-
- Gets the headers.
-
- The headers.
-
-
-
- Gets the body parts.
-
- The body parts.
-
-
-
- Gets or sets the body.
-
- The body.
-
-
-
- Gets or sets the embedded message.
-
- The embedded message.
-
-
-
- Gets or sets the header encoding.
-
- The header encoding.
-
-
-
- Gets or sets the header character set.
-
- The header character set.
-
-
-
- Gets or sets the type of the content.
-
- The type of the content.
-
-
-
- Gets or sets the content transfer encoding.
-
- The content transfer encoding.
-
-
-
- Gets or sets the content disposition.
-
- The content disposition.
-
-
-
- Gets or sets the content description.
-
- The content description.
-
-
-
- Gets or sets the content identifier.
-
- The content identifier.
-
-
-
- Gets or sets the content location.
-
- The content location.
-
-
-
- Class BodyPartList.
-
-
-
-
- Adds the specified attachment.
-
- The attachment.
-
-
-
- Class ContentDisposition.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class.
-
- The type.
-
-
-
- Initializes a new instance of the class.
-
- The content disposition.
-
-
-
- Returns a that represents this instance.
-
- A that represents this instance.
-
-
-
- Gets or sets the type.
-
- The type.
-
-
-
- Gets the parameters.
-
- The parameters.
-
-
-
- Summary description for ContentDispositionType.
-
-
-
-
- Specifies that the attachment is to be displayed as a file attached to the e-mail message.
-
-
-
-
- The attachment is to be displayed as part of the e-mail message body.
-
-
-
-
- Specifies the Content-Transfer-Encoding header information for an e-mail message attachment.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Class ContentType.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class.
-
- The type.
- The subtype.
-
-
-
- Initializes a new instance of the class.
-
- The type.
- The subtype.
- The charset.
-
-
-
- Initializes a new instance of the class.
-
- Type of the content.
-
-
-
- Returns a that represents this instance.
-
- A that represents this instance.
-
-
-
- Gets or sets the type.
-
- The type.
-
-
-
- Gets or sets the type of the sub.
-
- The type of the sub.
-
-
-
- Gets or sets the character set.
-
- The character set.
-
-
-
- Gets the parameters.
-
- The parameters.
-
-
-
- Class Header.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class.
-
- The name.
- The value.
-
-
-
- Initializes a new instance of the class.
-
- The name.
- The value.
-
-
-
- Returns a that represents this instance.
-
- A that represents this instance.
-
-
-
- Gets or sets the name.
-
- The name.
-
-
-
- Gets or sets the value.
-
- The value.
-
-
-
- Contains types of header encoding.
-
-
-
-
- Quoted-Printable encoding.
-
-
-
-
- Binary encoding.
-
-
-
-
- Class HeaderList.
-
-
-
-
- Removes the specified standard header.
-
- The standard header.
-
-
-
- Removes the specified name.
-
- The name.
-
-
-
- Gets the with the specified name.
-
- The name.
- Header.
-
-
-
- Gets the with the specified name.
-
- The name.
- Header.
-
-
-
- Represents a mailbox.
-
-
-
-
- Initializes a new instance of the Mailbox.
-
-
-
-
- Initializes a new instance of the Mailbox.
-
- Email address of mailbox owner.
- Name of mailbox owner.
-
-
-
- Initializes a new instance of the Mailbox.
-
- Email address and name of mailbox owner.
-
-
-
- Returns a String that represents the current Mailbox.
-
-
-
-
-
- Gets or sets display name.
-
-
-
-
- Gets or sets email address.
-
-
-
-
- Class Message.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class.
-
- The file path.
-
-
-
- Initializes a new instance of the class.
-
- The stream.
-
-
-
- Initializes a new instance of the class.
-
- The buffer.
-
-
-
- Opens the specified file path.
-
- The file path.
-
-
-
- Opens the specified stream.
-
- The stream.
- stream
-
-
-
- Opens the specified buffer.
-
- The buffer.
-
-
-
- Gets the attachments.
-
- Attachment[][].
-
-
-
- Gets the attachments.
-
- if set to true [include embedded].
- Attachment[][].
-
-
-
- Gets the name of the file.
-
- System.String.
-
-
-
- Saves the specified stream.
-
- The stream.
- stream
-
-
-
- Saves this message to the specified file.
-
- File path.
-
-
-
- Saves this message to the specified file.
-
- File path.
- True to overwrite existing file, otherwise false.
-
-
-
- Gets the bytes.
-
- System.Byte[][].
-
-
-
- Gets the stream.
-
- Stream.
-
-
-
- Returns a that represents this instance.
-
- A that represents this instance.
-
-
-
- Gets the headers.
-
- The headers.
-
-
-
- Gets the body parts.
-
- The body parts.
-
-
-
- Gets or sets the body.
-
- The body.
-
-
-
- Gets or sets the embedded message.
-
- The embedded message.
-
-
-
- Gets or sets the header encoding.
-
- The header encoding.
-
-
-
- Gets or sets the header character set.
-
- The header character set.
-
-
-
- Gets or sets the type of the content.
-
- The type of the content.
-
-
-
- Gets or sets the content transfer encoding.
-
- The content transfer encoding.
-
-
-
- Gets or sets the content disposition.
-
- The content disposition.
-
-
-
- Gets or sets the content description.
-
- The content description.
-
-
-
- Gets or sets the content identifier.
-
- The content identifier.
-
-
-
- Gets or sets the content location.
-
- The content location.
-
-
-
- Gets or sets the subject.
-
- The subject.
-
-
-
- Gets or sets the MIME version.
-
- The MIME version.
-
-
-
- Gets or sets the comments.
-
- The comments.
-
-
-
- Gets or sets the keywords.
-
- The keywords.
-
-
-
- Gets or sets the message identifier.
-
- The message identifier.
-
-
-
- Gets or sets the resent message identifier.
-
- The resent message identifier.
-
-
-
- Gets or sets the date.
-
- The date.
-
-
-
- Gets or sets the resent date.
-
- The resent date.
-
-
-
- Gets or sets the references.
-
- The references.
-
-
-
- Gets to.
-
- To.
-
-
-
- Gets the cc.
-
- The cc.
-
-
-
- Gets the BCC.
-
- The BCC.
-
-
-
- Gets the reply to.
-
- The reply to.
-
-
-
- Gets or sets from.
-
- From.
-
-
-
- Gets or sets the sender.
-
- The sender.
-
-
-
- Gets or sets the resent from.
-
- The resent from.
-
-
-
- Gets or sets the resent sender.
-
- The resent sender.
-
-
-
- Gets or sets the in reply to.
-
- The in reply to.
-
-
-
- Gets or sets the return path.
-
- The return path.
-
-
-
- The exception that is thrown when load or parse message with wrong format.
-
-
-
-
- Initializes a new instance of the MessageFormatException class.
-
-
-
-
- Initializes a new instance of the MessageFormatException class with the specified error message.
-
- Error description.
-
-
-
- Initializes a new instance of the MessageFormatException class with the specified error message and inner exception.
-
- The message that describes the error
- The exception that is the cause of the current exception. If the innerException parameter is not a null reference (Nothing in Visual Basic), the current exception is raised in a catch block that handles the inner exception.
-
-
-
- Class Parameter.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class.
-
- The name.
-
-
-
- Initializes a new instance of the class.
-
- The name.
- The value.
-
-
-
- Returns a that represents this instance.
-
- A that represents this instance.
-
-
-
- Gets or sets the name.
-
- The name.
-
-
-
- Gets or sets the value.
-
- The value.
-
-
-
- Class ParameterList.
-
-
-
-
- Removes the specified name.
-
- The name.
-
-
-
- Gets the with the specified name.
-
- The name.
- Parameter.
-
-
-
- Contains the standard message headers defined in RFC 2822.
-
-
-
-
- Resent-Date header field.
-
-
-
-
- Resent-From header field.
-
-
-
-
- Resent-Sender header field.
-
-
-
-
- Resent-To header field.
-
-
-
-
- Resent-Cc header field.
-
-
-
-
- Resent-Bcc header field.
-
-
-
-
- Resent-Msg-ID header field.
-
-
-
-
- From header field.
-
-
-
-
- Sender header field.
-
-
-
-
- Reply-To header field.
-
-
-
-
- To header field.
-
-
-
-
- Cc header field.
-
-
-
-
- Bcc header field.
-
-
-
-
- Message-ID header field.
-
-
-
-
- In-Reply-To header field.
-
-
-
-
- References header field.
-
-
-
-
- Subject header field.
-
-
-
-
- Comments header field.
-
-
-
-
- Keywords header field.
-
-
-
-
- Date header field.
-
-
-
-
- Return-Path header field.
-
-
-
-
- Received header field.
-
-
-
-
- MIME-Version header field.
-
-
-
-
- Content-Type header field.
-
-
-
-
- Content-ID header field.
-
-
-
-
- Content-Transfer-Encoding header field.
-
-
-
-
- Content-Description header field.
-
-
-
-
- Content-Disposition header field.
-
-
-
-
- Content-Location header field.
-
-
-
-
- Content-Length header field.
-
-
-
-
- Summary description for Util.
-
-
-
-
- Represents an attachment to a message.
-
-
-
-
- Initializes a new instance of the Attachment class.
-
-
-
-
- Initializes a new instance of the Attachment class based on the supplied file.
-
- File path.
-
-
-
- Initializes a new instance of the Attachment class based on the supplied stream.
-
- Attachment file name.
- A stream.
-
-
-
- Initializes a new instance of the Attachment class based on the supplied byte array.
-
- Attachment file name.
- A byte array.
-
-
-
- Saves this attachment to the specified file.
-
- File path.
-
-
-
- Saves this attachment to the specified file.
-
- File path.
- True to overwrite existing file, otherwise false.
-
-
-
- Saves this attachment to the specified stream.
-
- A stream.
- stream
-
-
-
- Gets bytes to read from this attachment.
-
- Attachment as a byte array.
-
-
-
- Gets bytes to read from this attachment.
-
- Attachment as a byte array.
-
-
-
- Gets stream to read from this attachment.
-
- A stream.
-
-
-
- Provides file type information for a non-Windows attachment.
-
- The additional information.
-
-
-
- Contains the content base header of a MIME message attachment.
-
- The content base.
-
-
-
- Contains the content identification header of a MIME message attachment.
-
- The content identifier.
-
-
-
- Contains the content location header of a MIME message attachment.
-
- The content location.
-
-
-
- Contains the content disposition header of a MIME message attachment.
-
- The content disposition.
-
-
-
- Contains binary attachment data.
-
- The data.
-
-
-
- Contains attachment's data as embedded object.
-
- The data object.
-
-
-
- Contains the encoding for an attachment.
-
- The encoding.
-
-
-
- Contains the record key for an attachment.
-
- The record key.
-
-
-
- Contains a file name extension that indicates the document type of an attachment.
-
- The extension.
-
-
-
- Contains an attachment's base file name and extension, excluding path.
-
- The name of the file.
-
-
-
- Contains flags for an attachment.
-
- The flags.
-
-
-
- Contains an attachment's long filename and extension, excluding path.
-
- The long name of the file.
-
-
-
- Contains an attachment's fully-qualified long path and filename.
-
- The long name of the path.
-
-
-
- Contains a MAPI-defined constant representing the way the contents of an attachment can be accessed.
-
- The method.
-
-
-
- Contains the MIME sequence number of a MIME message attachment.
-
- The MIME sequence.
-
-
-
- Contains formatting information about a MIME attachment.
-
- The MIME tag.
-
-
-
- Contains an attachment's fully-qualified path and filename.
-
- The name of the path.
-
-
-
- Contains a Microsoft Windows metafile with rendering information for an attachment.
-
- The rendering.
-
-
-
- Contains rendering position index.
-
- The rendering position.
-
-
-
- Contains attachment's size in bytes.
-
- The size.
-
-
-
- Contains an object identifier specifying the application that supplied an attachment.
-
- The tag.
-
-
-
- Contains the name of an attachment file modified so that it can be associated with TNEF messages.
-
- The name of the transport.
-
-
-
- Contains the display name of the attachment.
-
- The display name.
-
-
-
- Contains object if the attachment is an embedded Message.
-
- The embedded message.
-
-
-
- Contains the type of the attachment.
-
- The type of the object.
-
-
-
- Indicates whether an attachment is hidden from the end user.
-
- true if this instance is hidden; otherwise, false.
-
-
-
- Contains the creation date and time of the attachment.
-
- The creation time.
-
-
-
- Contains the date and time when the attachment was last modified.
-
- The last modification time.
-
-
-
- Indicates whether this attachment is a contact photo.
-
- true if this instance is contact photo; otherwise, false.
-
-
-
- Gets or sets the data object storage.
-
- The data object storage.
-
-
-
- Represents attachment's flags.
-
-
-
-
- Indicates that this attachment is not available to HTML rendering applications and should be ignored in MIME processing.
-
-
-
-
- Indicates that this attachment is not available to applications rendering in Rich Text Format (RTF) and should be ignored by MAPI.
-
-
-
-
- None
-
-
-
-
- Represents the way the contents of an attachment can be accessed.
-
-
-
-
- The attachment has just been created.
-
-
-
-
- The property contains the attachment data.
-
-
-
-
- The or the property contains a fully-qualified path identifying the attachment to recipients with access to a common file server.
-
-
-
-
- The or the property contains a fully-qualified path identifying the attachment.
-
-
-
-
- The or the property contains a fully-qualified path identifying the attachment.
-
-
-
-
- The property contains an embedded object.
-
-
-
-
- The attachment is an embedded OLE object
-
-
-
-
- None
-
-
-
-
- Specifies whether the attendee is busy at the time of an appointment on their calendar. The specified status appears in the free/busy view of the calendar.
-
-
-
-
- Free status
-
-
-
-
- Tentative status
-
-
-
-
- Busy status
-
-
-
-
- Out of the office status
-
-
-
-
- Enum CalendarType
-
-
-
-
- Describes which week in a month is used in a relative recurrence pattern.
-
-
-
-
- First.
-
-
-
-
- Second.
-
-
-
-
- Third.
-
-
-
-
- Fourth.
-
-
-
-
- Last.
-
-
-
-
- None.
-
-
-
-
- Contains a value used to associate an icon with a particular row of a table.
-
-
-
-
- An automated agent, such as Quote-Of-The-Day or a weather chart display.
-
-
-
-
- A distribution list.
-
-
-
-
- Display default folder icon adjacent to folder.
-
-
-
-
- Display default folder link icon adjacent to folder rather than the default folder icon.
-
-
-
-
- Display icon for a folder with an application-specific distinction, such as a special type of public folder.
-
-
-
-
- A forum, such as a bulletin board service or a public or shared folder.
-
-
-
-
- A global address book.
-
-
-
-
- A local address book that you share with a small workgroup.
-
-
-
-
- A typical messaging user.
-
-
-
-
- Modifiable; the container should be denoted as modifiable in the user interface.
-
-
-
-
- A special alias defined for a large group, such as helpdesk, accounting, or blood-drive coordinator.
-
-
-
-
- A private, personally administered distribution list.
-
-
-
-
- A recipient known to be from a foreign or remote messaging system.
-
-
-
-
- A wide area network address book.
-
-
-
-
- Does not match any of the other settings.
-
-
-
-
- None.
-
-
-
-
- Class ExtendedProperty.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class.
-
- The tag.
-
-
-
- Initializes a new instance of the class.
-
- The tag.
- The value.
-
- tag
- or
- value
-
-
-
-
- Initializes a new instance of the class.
-
- The tag.
- The value.
-
-
-
- Initializes a new instance of the class.
-
- The tag.
- The value.
-
-
-
- Initializes a new instance of the class.
-
- The tag.
- The value.
-
-
-
- Initializes a new instance of the class.
-
- The tag.
- The value.
-
-
-
- Initializes a new instance of the class.
-
- The tag.
- if set to true [value].
-
-
-
- Initializes a new instance of the class.
-
- The tag.
- The value.
-
-
-
- Initializes a new instance of the class.
-
- The tag.
- The value.
-
- tag
- or
- value
-
-
-
-
- Initializes a new instance of the class.
-
- The tag.
- The value.
-
-
-
- Gets the string value.
-
- System.String.
-
-
-
- Gets the string array value.
-
- System.String[][].
-
-
-
- Gets the boolean value.
-
- true if XXXX, false otherwise.
-
-
-
- Gets the short value.
-
- System.Int16.
-
-
-
- Gets the integer value.
-
- System.Int32.
-
-
-
- Gets the long value.
-
- System.Int64.
-
-
-
- Gets the float value.
-
- System.Single.
-
-
-
- Gets the double value.
-
- System.Double.
-
-
-
- Gets the date time value.
-
- DateTime.
-
-
-
- Gets or sets the tag.
-
- The tag.
-
-
-
- Gets or sets the value.
-
- The value.
-
-
-
- Class ExtendedPropertyId.
-
-
-
-
- Class ExtendedPropertyTag.
-
-
-
-
- Gets or sets the unique identifier.
-
- The unique identifier.
-
-
-
- Gets or sets the type.
-
- The type.
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class.
-
- The identifier.
- The unique identifier.
-
-
-
- Initializes a new instance of the class.
-
- The identifier.
- The unique identifier.
- The type.
-
-
-
- Returns a that represents this instance.
-
- A that represents this instance.
-
-
-
- Gets or sets the identifier.
-
- The identifier.
-
-
-
- Class ExtendedPropertyList.
-
-
-
-
- Gets the with the specified tag.
-
- The tag.
- ExtendedProperty.
-
-
-
- Class ExtendedPropertyName.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class.
-
- The name.
- The unique identifier.
-
-
-
- Initializes a new instance of the class.
-
- The name.
- The unique identifier.
- The type.
-
-
-
- Returns a that represents this instance.
-
- A that represents this instance.
-
-
-
- Gets or sets the name.
-
- The name.
-
-
-
- Represents flag color.
-
-
-
-
- Purple color. Value is 1.
-
-
-
-
- Orange color. Value is 2.
-
-
-
-
- Green color. Value is 3.
-
-
-
-
- Yellow color. Value is 4.
-
-
-
-
- Blue color. Value is 5.
-
-
-
-
- Red color. Value is 6.
-
-
-
-
- None. Value is 0.
-
-
-
-
- Contains the Microsoft Office Outlook follow-up flags for the message.
-
-
-
-
- Complete.
-
-
-
-
- Follow-up is required.
-
-
-
-
- No follow-up has been specified.
-
-
-
-
- Enum Gender
-
-
-
-
- Indicates the message sender's opinion of the importance of a message.
-
-
-
-
- The message has low importance.
-
-
-
-
- The message has normal importance.
-
-
-
-
- The message has high importance.
-
-
-
-
- None.
-
-
-
-
- Represents last action on the message.
-
-
-
-
- Reply has been sent to sender. Value is 102.
-
-
-
-
- Reply has been sent to all. Value is 103.
-
-
-
-
- The message has been forwarded. Value is 104.
-
-
-
-
- None.
-
-
-
-
- The MeetingStatus enum specifies the status of an appointment or meeting.
-
-
-
-
- An Appointment item without attendees has been scheduled. This status can be used to set up holidays on a calendar.
-
-
-
-
- The meeting has been scheduled.
-
-
-
-
- The meeting request has been received.
-
-
-
-
- The scheduled meeting has been cancelled but still appears on the user's calendar.
-
-
-
-
- The scheduled meeting has been cancelled.
-
-
-
-
- None.
-
-
-
-
- Represents Outlook message file.
-
-
-
-
- Initializes a new instance of the Message class.
-
-
-
-
- Initializes a new instance of the Message class based on the supplied file.
-
- File path.
-
-
-
- Initializes a new instance of the Message class based on the supplied stream.
-
- A stream.
-
-
-
- Initializes a new instance of the Message class from the specified MIME message.
-
- The MIME message.
-
-
-
- Loads message from the specified file.
-
- File path.
-
-
-
- Loads message from the specified stream.
-
- An input stream.
-
-
-
- Gets stream to read from this message.
-
- A stream.
-
-
-
- Gets bytes to read from this message.
-
- Attachment as a byte array.
-
-
-
- Saves this message to the specified file.
-
- File path.
-
-
-
- Saves this message to the specified file.
-
- File path.
- True to overwrite existing file, otherwise false.
-
-
-
- Saves this message to the specified stream.
-
- A stream.
- stream
-
-
-
- Converts to MIME message.
-
- Independentsoft.Email.Mime.Message.
-
-
-
- Gets or sets message encoding. Default is UTF8 encoding.
-
- The encoding.
-
- In order to save message as Unicode use:
-
- message.Encoding = System.Text.Encoding.Unicode;
-
-
-
-
-
- Contains a text string that identifies the sender-defined message class, such as IPM.Note.
-
- The message class.
-
-
-
- Contains the full subject of a message.
-
- The subject.
-
-
-
- Contains a subject prefix that typically indicates some action on a message, such as "FW: " for forwarding.
-
- The subject prefix.
-
-
-
- Contains the topic of the first message in a conversation thread.
-
- The conversation topic.
- A conversation thread represents a series of messages and replies. These properties are set for the first message in a thread, usually to the property. Subsequent messages in the thread should use the same topic without modification.
-
-
-
- Contains an ASCII list of the display names of any blind carbon copy (BCC) message recipients, separated by semicolons (;).
-
- The display BCC.
-
-
-
- Contains an ASCII list of the display names of any carbon copy (CC) message recipients, separated by semicolons (;).
-
- The display cc.
-
-
-
- Contains a list of the display names of the primary (To) message recipients, separated by semicolons (;).
-
- The display to.
-
-
-
- Contains a list of the display names of the primary (To) message recipients, separated by semicolons (;).
-
- The original display to.
-
-
-
- Contains reply to email address.
-
- The reply to.
-
-
-
- Contains the message subject with any prefix removed.
-
- The normalized subject.
-
-
-
- Contains the message text.
-
- The body.
-
-
-
- Contains the Rich Text Format (RTF) version of the message text.
-
- The body RTF.
-
-
-
- Contains the Rich Text Format (RTF) version of the message text, usually in compressed form.
-
- The RTF compressed.
-
-
-
- Contains a binary-comparable key that identifies correlated objects for a search.
-
- The search key.
-
-
-
- Contains a change key of a message.
-
- The change key.
-
-
-
- Contains a MAPI entry identifier used to open and edit properties of a particular MAPI object.
-
- The entry identifier.
-
-
-
- Gets or sets the read receipt entry identifier.
-
- The read receipt entry identifier.
-
-
-
- Gets or sets the read receipt search key.
-
- The read receipt search key.
-
-
-
- Contains the creation date and time of the message.
-
- The creation time.
- A message store sets this property for each message that it creates.
-
-
-
- Contains the date and time when the message was last modified.
-
- The last modification time.
- This property is initially set to the same value as the property.
-
-
-
- Contains the date and time when a message was delivered.
-
- The message delivery time.
- This property describes the time the message was stored at the server, rather than the download time when the transport provider copied the message from the server to the local store.
-
-
-
- Contains the date and time the message sender submitted a message.
-
- The client submit time.
-
-
-
- Contains the date and time the mail provider submitted a message.
-
- The provider submit time.
-
-
-
- Contains the report date and time.
-
- The report time.
-
-
-
- Contains the time when the last verb was executed.
-
- The last verb execution time.
-
-
-
- Contains report text.
-
- The report text.
-
-
-
- Contains name of the person who created message.
-
- The name of the creator.
-
-
-
- Contains name of the person who modified message.
-
- The last name of the modifier.
-
-
-
- Contains unique ID for the message.
-
- The internet message identifier.
-
-
-
- Contains the identifier of the message to which this message is a reply.
-
- The in reply to.
-
-
-
- Contains Internet reference ID for the message.
-
- The internet references.
-
-
-
- Contains the code page that is used for the message.
-
- The message code page.
-
-
-
- Contains a number that indicates which icon to use when you display a group of e-mail objects.
-
- The index of the icon.
-
-
-
- Contains the size of the body, subject, sender, and attachments.
-
- The size.
-
-
-
- Indicates the code page used for the or the properties.
-
- The internet code page.
-
-
-
- Contains a binary value that indicates the relative position of this message within a conversation thread.
-
- The index of the conversation.
-
-
-
- Contains true if message is invisible.
-
- true if this instance is hidden; otherwise, false.
-
-
-
- Contains true if message is read only.
-
- true if this instance is read only; otherwise, false.
-
-
-
- Contains true if message is system message.
-
- true if this instance is system; otherwise, false.
-
-
-
- Gets or sets a value indicating whether [disable full fidelity].
-
- true if [disable full fidelity]; otherwise, false.
-
-
-
- Contains true if a message contains at least one attachment.
-
- true if this instance has attachment; otherwise, false.
-
-
-
- Contains true if the property has the same text content as the property for this message.
-
- true if [RTF in synchronize]; otherwise, false.
-
-
-
- Gets or sets a value indicating whether [read receipt requested].
-
- true if [read receipt requested]; otherwise, false.
-
-
-
- Gets or sets a value indicating whether [delivery report requested].
-
- true if [delivery report requested]; otherwise, false.
-
-
-
- Contains the Hypertext Markup Language (HTML) version of the message text.
-
- The body HTML.
-
-
-
- Contains the Hypertext Markup Language (HTML) version of the message text.
-
- The body HTML text.
-
-
-
- Contains a value that indicates the message sender's opinion of the sensitivity of a message.
-
- The sensitivity.
-
-
-
- Contains the last verb executed.
-
- The last verb executed.
-
-
-
- Contains a value that indicates the message sender's opinion of the importance of a message.
-
- The importance.
-
-
-
- Contains the relative priority of a message.
-
- The priority.
- This property and the property should not be confused. Importance indicates a value to users, while priority indicates the order or speed at which the message should be sent by the messaging system software. Higher priority usually indicates a higher cost. Higher importance usually is associated with a different display by the user interface.
-
-
-
- Specifies the flag icon of the message object.
-
- The flag icon.
-
-
-
- Specifies the flag state of the message object.
-
- The flag status.
-
-
-
- Contains the type of an object.
-
- The type of the object.
-
-
-
- Contains the address type for the messaging user who is represented by the user actually receiving the message.
-
- The type of the received representing address.
-
-
-
- Contains the e-mail address for the messaging user who is represented by the receiving user.
-
- The received representing email address.
-
-
-
- Contains the entry identifier for the messaging user who is represented by the receiving user.
-
- The received representing entry identifier.
-
-
-
- Contains the display name for the messaging user who is represented by the receiving user.
-
- The name of the received representing.
-
-
-
- Contains the search key for the messaging user represented by the receiving user.
-
- The received representing search key.
-
-
-
- Contains the e-mail address type, such as SMTP, for the messaging user who actually receives the message.
-
- The type of the received by address.
-
-
-
- Contains the e-mail address for the messaging user who receives the message.
-
- The received by email address.
-
-
-
- Contains the entry identifier of the messaging user who actually receives the message.
-
- The received by entry identifier.
-
-
-
- Contains the display name of the messaging user who receives the message.
-
- The name of the received by.
-
-
-
- Contains the search key of the messaging user who receives the message.
-
- The received by search key.
-
-
-
- Contains the message sender's e-mail address type.
-
- The type of the sender address.
-
-
-
- Contains the message sender's e-mail address.
-
- The sender email address.
-
-
-
- Contains the message sender's entry identifier.
-
- The sender entry identifier.
-
-
-
- Contains the message sender's display name.
-
- The name of the sender.
-
-
-
- Contains the message sender's search key.
-
- The sender search key.
-
-
-
- Contains the address type for the messaging user who is represented by the sender.
-
- The type of the sent representing address.
-
-
-
- Contains the e-mail address for the messaging user who is represented by the sender.
-
- The sent representing email address.
-
-
-
- Contains the entry identifier for the messaging user represented by the sender.
-
- The sent representing entry identifier.
-
-
-
- Contains the display name for the messaging user represented by the sender.
-
- The name of the sent representing.
-
-
-
- Contains the search key for the messaging user represented by the sender.
-
- The sent representing search key.
-
-
-
- Contains transport-specific message envelope information.
-
- The transport message headers.
-
-
-
- Contains a bitmask of flags that indicate the origin and current state of a message.
-
- The message flags.
- This property is a nontransmittable message property exposed at both the sending and receiving ends of a transmission, with different values depending upon the client application or store provider involved. This property is initialized by the client or message store provider when a message is created and saved for the first time and then updated periodically by the message store provider, a transport provider, and the MAPI spooler as the message is processed and its state changes. This property exists on a message both before and after submission, and on all copies of the received message. Although it is not a recipient property, it is exposed differently to each recipient according to whether it has been read or modified by that recipient.
-
-
-
- Contains values that client applications should query to determine the characteristics of a message store.
-
- The store support masks.
-
-
-
- Contains version number of Microsoft Office Outlook client.
-
- The outlook version.
-
-
-
- Contains internal version number of Microsoft Office Outlook client.
-
- The outlook internal version.
-
-
-
- Contains the start date and time of a message.
-
- The common start time.
-
-
-
- Contains the end date and time of a message.
-
- The common end time.
-
-
-
- Contains the date and time specifying the date by which an e-mail message is due.
-
- The flag due by.
-
-
-
- Contains the names of the companies associated with the contact item.
-
- The companies.
-
-
-
- Contains the names of the contacts associated with the item.
-
- The contact names.
-
-
-
- Contains the categories associated with a message.
-
- The keywords.
-
-
-
- Contains the categories associated with a message.
-
- The categories.
-
-
-
- Contains the billing information associated with a message.
-
- The billing information.
-
-
-
- Contains free-form string value and can be used to store mileage information associated with the message.
-
- The mileage.
-
-
-
- Contains account name or email address.
-
- The name of the internet account.
-
-
-
- Contains the path and file name of the sound file to play when the reminder occurs for the appointment, mail message, or task.
-
- The reminder sound file.
-
-
-
- Contains true if message is marked as private.
-
- true if this instance is private; otherwise, false.
-
-
-
- Contains true if the reminder overrides the default reminder behavior for the appointment, mail item, or task.
-
- true if [reminder override default]; otherwise, false.
-
-
-
- Contains true if the reminder should play a sound when it occurs for this appointment or task.
-
- true if [reminder play sound]; otherwise, false.
-
-
-
- Contains appointment's the start date and time.
-
- The appointment start time.
-
-
-
- Contains appointment's the end date and time.
-
- The appointment end time.
-
-
-
- Contains appointment's location.
-
- The location.
-
-
-
- Contains appointment's message class.
-
- The appointment message class.
-
-
-
- Contains appointment's time zone.
-
- The time zone.
-
-
-
- Contains recurring pattern description.
-
- The recurrence pattern description.
-
-
-
- Contains appoinmtment or task recurring pattern.
-
- The recurrence pattern.
-
-
-
- Contains message's global unique id.
-
- The unique identifier.
-
-
-
- Contains appointment's label color.
-
- The label.
-
-
-
- Contains appointment's duration in minutes.
-
- The duration.
-
-
-
- Contains appointment's busy status.
-
- The busy status.
-
-
-
- Contains the status of the meeting.
-
- The meeting status.
-
-
-
- Contains the response to a meeting request.
-
- The response status.
-
-
-
- Contains the recurrence pattern type.
-
- The type of the recurrence.
-
-
-
- Contains task's owner name.
-
- The owner.
-
-
-
- Contains task's delegator name.
-
- The delegator.
-
-
-
- Contains the percentage of the task completed at the current date and time.
-
- The percent complete.
-
-
-
- Contains the actual effort (in minutes) spent on the task.
-
- The actual work.
-
-
-
- Contains the total work for the task.
-
- The total work.
-
-
-
- Contains true if the task is a team task.
-
- true if this instance is team task; otherwise, false.
-
-
-
- Contains true if the task is complete.
-
- true if this instance is complete; otherwise, false.
-
-
-
- Contains true if the task or appointment is recurring.
-
- true if this instance is recurring; otherwise, false.
-
-
-
- Contains true if the appointment is all day event.
-
- true if this instance is all day event; otherwise, false.
-
-
-
- Contains true if a reminder has been set for this appointment, e-mail item, or task.
-
- true if this instance is reminder set; otherwise, false.
-
-
-
- Contains the date and time at which the reminder should occur for the specified item.
-
- The reminder time.
-
-
-
- Contains the number of minutes the reminder should occur prior to the start of the appointment.
-
- The reminder minutes before start.
-
-
-
- Contains task's the start date and time.
-
- The task start date.
-
-
-
- Contains task's the due date and time.
-
- The task due date.
-
-
-
- Contains the completion date of the task.
-
- The date completed.
-
-
-
- Contains the status of the task.
-
- The task status.
-
-
-
- Contains the ownership state of the task.
-
- The task ownership.
-
-
-
- Contains the delegation state of a task.
-
- The state of the task delegation.
-
-
-
- Contains height of the note item.
-
- The height of the note.
-
-
-
- Contains width of the note item.
-
- The width of the note.
-
-
-
- Contains top position of the note item.
-
- The note top.
-
-
-
- Contains left position of the note item.
-
- The note left.
-
-
-
- Contains background color of the note item.
-
- The color of the note.
-
-
-
- Contains journal's the start date and time.
-
- The journal start time.
-
-
-
- Contains journal's the end date and time.
-
- The journal end time.
-
-
-
- Contains the type of the journal item.
-
- The type of the journal.
-
-
-
- Contains the type description of the journal item.
-
- The journal type description.
-
-
-
- Contains journal's the duration in minutes.
-
- The duration of the journal.
-
-
-
- Contains the birthday date for the contact.
-
- The birthday.
-
-
-
- Contains the names of the children of the contact.
-
- The children names.
-
-
-
- Contains the name of assistent of the contact.
-
- The name of the assistent.
-
-
-
- Contains assistent's phone number of the contact.
-
- The assistent phone.
-
-
-
- Contains the first business telephone number for the contact.
-
- The business phone.
-
-
-
- Contains the business fax number for the contact.
-
- The business fax.
-
-
-
- Contains the url of the business Web page for the contact.
-
- The business home page.
-
-
-
- Contains the callback telephone number for the contact.
-
- The callback phone.
-
-
-
- Contains the car telephone number for the contact.
-
- The car phone.
-
-
-
- Contains the mobile telephone number for the contact.
-
- The cellular phone.
-
-
-
- Contains the company main telephone number for the contact.
-
- The company main phone.
-
-
-
- Contains the company name for the contact.
-
- The name of the company.
-
-
-
- Contains the name of the computer network for the contact.
-
- The name of the computer network.
-
-
-
- Contains the country/region code portion of the business address for the contact.
-
- The business address country.
-
-
-
- Contains the customer ID for the contact.
-
- The customer identifier.
-
-
-
- Contains the department name for the contact.
-
- The name of the department.
-
-
-
- Contains display name.
-
- The display name.
-
-
-
- Contains display name prefix.
-
- The display name prefix.
-
-
-
- Contains the FTP site entry for the contact.
-
- The FTP site.
-
-
-
- Contains the generation for the contact.
-
- The generation.
-
-
-
- Contains the given name for the contact.
-
- The name of the given.
-
-
-
- Contains the government ID number for the contact.
-
- The government identifier.
-
-
-
- Contains the hobby names for the contact.
-
- The hobbies.
-
-
-
- Contains the second home telephone number for the contact.
-
- The home phone2.
-
-
-
- Contains the city portion of the home address for the contact.
-
- The home address city.
-
-
-
- Contains the country/region portion of the home address for the contact.
-
- The home address country.
-
-
-
- Contains the postal code portion of the home address for the contact.
-
- The home address postal code.
-
-
-
- Contains the post office box number portion of the home address for the contact.
-
- The home address post office box.
-
-
-
- Contains the state portion of the home address for the contact.
-
- The state of the home address.
-
-
-
- Contains the street portion of the home address for the contact.
-
- The home address street.
-
-
-
- Contains the home fax number for the contact.
-
- The home fax.
-
-
-
- Contains the first home telephone number for the contact.
-
- The home phone.
-
-
-
- Contains the initials for the contact.
-
- The initials.
-
-
-
- Contains the ISDN number for the contact.
-
- The isdn.
-
-
-
- Contains the city name portion of the business address for the contact.
-
- The business address city.
-
-
-
- Contains the manager name for the contact.
-
- The name of the manager.
-
-
-
- Contains the middle name for the contact.
-
- The name of the middle.
-
-
-
- Contains the nickname for the contact.
-
- The nickname.
-
-
-
- Contains the specific office location for the contact.
-
- The office location.
-
-
-
- Contains the second business telephone number for the contact.
-
- The business phone2.
-
-
-
- Contains the city portion of the other address for the contact.
-
- The other address city.
-
-
-
- Contains the country/region portion of the other address for the contact.
-
- The other address country.
-
-
-
- Contains the postal code portion of the other address for the contact.
-
- The other address postal code.
-
-
-
- Contains the state portion of the other address for the contact.
-
- The state of the other address.
-
-
-
- Contains the street portion of the other address for the contact.
-
- The other address street.
-
-
-
- Contains the other telephone number for the contact.
-
- The other phone.
-
-
-
- Contains the pager number for the contact.
-
- The pager.
-
-
-
- Contains the url of the personal Web page for the contact.
-
- The personal home page.
-
-
-
- Contains the postal address for the contact.
-
- The postal address.
-
-
-
- Contains the postal code (zip code) portion of the business address for the contact.
-
- The business address postal code.
-
-
-
- Contains the post office box number portion of the business address for the contact.
-
- The business address post office box.
-
-
-
- Contains the state code portion of the business address for the contact.
-
- The state of the business address.
-
-
-
- Contains the street address portion of the business address for the contact.
-
- The business address street.
-
-
-
- Contains the primary fax number for the contact.
-
- The primary fax.
-
-
-
- Contains the primary telephone number for the contact.
-
- The primary phone.
-
-
-
- Contains the profession for the contact.
-
- The profession.
-
-
-
- Contains the radio telephone number for the contact.
-
- The radio phone.
-
-
-
- Contains the spouse name for the contact.
-
- The name of the spouse.
-
-
-
- Contains the last name for the contact.
-
- The surname.
-
-
-
- Contains the telex number for the contact.
-
- The telex.
-
-
-
- Contains the title for the contact.
-
- The title.
-
-
-
- Contains the TTY/TDD telephone number for the contact.
-
- The tty TDD phone.
-
-
-
- Contains the wedding anniversary date for the contact.
-
- The wedding anniversary.
-
-
-
- Contains the gender of the contact.
-
- The gender.
-
-
-
- Contains the type of the mailing address for the contact.
-
- The selected mailing address.
-
-
-
- Contains true if the contact has picture.
-
- true if [contact has picture]; otherwise, false.
-
-
-
- Contains the default keyword string assigned to the contact when it is filed.
-
- The file as.
-
-
-
- Contains the instant messenger address for the contact.
-
- The instant messenger address.
-
-
-
- Contains the url location of the user's free-busy information in vCard Free-Busy standard format.
-
- The internet free busy address.
-
-
-
- Contains the whole, unparsed business address for the contact.
-
- The business address.
-
-
-
- Contains the whole, unparsed home address for the contact.
-
- The home address.
-
-
-
- Contains the whole, unparsed other address for the contact.
-
- The other address.
-
-
-
- Contains the e-mail address of the first e-mail entry for the contact.
-
- The email1 address.
-
-
-
- Contains the e-mail address of the second e-mail entry for the contact.
-
- The email2 address.
-
-
-
- Contains the e-mail address of the third e-mail entry for the contact.
-
- The email3 address.
-
-
-
- Contains the display name of the first e-mail address for the contact.
-
- The display name of the email1.
-
-
-
- Contains the display name of the second e-mail address for the contact.
-
- The display name of the email2.
-
-
-
- Contains the display name of the third e-mail address for the contact.
-
- The display name of the email3.
-
-
-
- Contains the display as name of the first e-mail address for the contact.
-
- The email1 display as.
-
-
-
- Contains the display as name of the second e-mail address for the contact.
-
- The email2 display as.
-
-
-
- Contains the display as name of the third e-mail address for the contact.
-
- The email3 display as.
-
-
-
- Contains the type of the first e-mail address for the contact.
-
- The type of the email1.
-
-
-
- Contains the type of the second e-mail address for the contact.
-
- The type of the email2.
-
-
-
- Contains the type of the third e-mail address for the contact.
-
- The type of the email3.
-
-
-
- Contains the entry ID of the first e-mail address for the contact.
-
- The email1 entry identifier.
-
-
-
- Contains the entry ID of the second e-mail address for the contact.
-
- The email2 entry identifier.
-
-
-
- Contains the entry ID of the third e-mail address for the contact.
-
- The email3 entry identifier.
-
-
-
- Contains collection of recipients.
-
- The recipients.
-
-
-
- Contains collection of attachments.
-
- The attachments.
-
-
-
- Contains collection of extended (custom) properties.
-
- The extended properties.
-
-
-
- Contains collection of named properties definition.
-
-
-
-
- Contains true if Message is embedded into another message object.
-
- true if this instance is embedded; otherwise, false.
-
-
-
- Contains a value that indicates the origin and current state of a message.
-
-
-
-
- The message is an associated message of a folder. The client or provider has read-only access to this flag. The Read flag is ignored for associated messages, which do not retain a read/unread state.
-
-
-
-
- The messaging user sending was the messaging user receiving the message. This flag is meant to be set by the transport provider.
-
-
-
-
- The message has at least one attachment. The client has read-only access to this flag.
-
-
-
-
- A nonread report needs to be sent for the message. The client or provider has read-only access to this flag.
-
-
-
-
- The incoming message arrived over the Internet. It originated either outside the organization or from a source the gateway cannot consider trusted. The client should display an appropriate message to the user. Transport providers set this flag; the client has read-only access.
-
-
-
-
- The incoming message arrived over an external link other than X.400 or the Internet. It originated either outside the organization or from a source the gateway cannot consider trusted. The client should display an appropriate message to the user. Transport providers set this flag; the client has read-only access.
-
-
-
-
- The incoming message arrived over an X.400 link. It originated either outside the organization or from a source the gateway cannot consider trusted. The client should display an appropriate message to the user. Transport providers set this flag; the client has read-only access.
-
-
-
-
- The message is marked as having been read. This flag is ignored if the Associated flag is set.
-
-
-
-
- The message includes a request for a resend operation with a non-delivery report.
-
-
-
-
- A read report needs to be sent for the message. The client or provider has read-only access to this flag.
-
-
-
-
- The message is marked for sending. Message store providers set this flag; the client has read-only access.
-
-
-
-
- The outgoing message has not been modified since the first time that it was saved; the incoming message has not been modified since it was delivered.
-
-
-
-
- The message is still being composed. It is saved, but has not been sent. Typically, this flag is cleared after the message is sent.
-
-
-
-
- Represents Note item background color.
-
-
-
-
- Blue color.
-
-
-
-
- Green color.
-
-
-
-
- Pink color.
-
-
-
-
- Yellow color.
-
-
-
-
- White color.
-
-
-
-
- None.
-
-
-
-
- Represents type of an object.
-
-
-
-
- Address book container object.
-
-
-
-
- Address book object.
-
-
-
-
- Message attachment object.
-
-
-
-
- Distribution list object.
-
-
-
-
- Folder object.
-
-
-
-
- Form object.
-
-
-
-
- Messaging user object.
-
-
-
-
- Message object.
-
-
-
-
- Profile section object.
-
-
-
-
- Session object.
-
-
-
-
- Status object.
-
-
-
-
- Message store object.
-
-
-
-
- None
-
-
-
-
- Represents the relative priority of a message.
-
-
-
-
- The message is not urgent.
-
-
-
-
- The message has normal priority.
-
-
-
-
- The message is urgent.
-
-
-
-
- None.
-
-
-
-
- Enum PropertyType
-
-
-
-
- Represents a user or resource, generally a mail message addressee.
-
-
-
-
- Initializes a new instance of the Recipient class.
-
-
-
-
- Contains the display name of the recipient.
-
-
-
-
- Contains the recipient's e-mail address.
-
-
-
-
- Contains the recipient's e-mail address type, such as Simple Mail Transfer Protocol (SMTP).
-
-
-
-
- Contains the type of the recipient.
-
-
-
-
- Contains the recipient type for a message recipient.
-
-
-
-
- Contains a value used to associate an icon with a particular row of a table.
-
-
-
-
- Contains the EntryID of the recipient.
-
-
-
-
- Contains a value that uniquely identifies a row in a table.
-
-
-
-
- Contains a binary-comparable key that identifies correlated objects for a search.
-
-
-
-
- Contains true if some transport provider has already accepted responsibility for delivering the message to this recipient, and false if the MAPI spooler considers that this transport provider should accept responsibility.
-
-
-
-
- Contains SMTP email address.
-
-
-
-
- Contains a 7-bit ASCII representation of the recipient's display name.
-
-
-
-
- Contains a recipient's display name in a secure form that cannot be changed.
-
-
-
-
- Contains true if the recipient can receive all message content, including Rich Text Format (RTF) and Object Linking and Embedding (OLE) objects.
-
-
-
-
- Contains a bitmask of encoding preferences.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Represents the recipient type for a message recipient.
-
-
-
-
- The recipient is a primary (To) recipient.
-
-
-
-
- The recipient is a carbon copy (Cc) recipient.
-
-
-
-
- The recipient is a blind carbon copy (Bcc) recipient.
-
-
-
-
- The recipient did not successfully receive the message on the previous attempt.
-
-
-
-
- None.
-
-
-
-
- Class RecurrencePattern.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class.
-
- The buffer.
-
-
-
- Gets the frequency.
-
- The frequency.
-
-
-
- Gets the type.
-
- The type.
-
-
-
- Gets the type of the calendar.
-
- The type of the calendar.
-
-
-
- Gets the period.
-
- The period.
-
-
-
- Gets the day of week.
-
- The day of week.
-
-
-
- Gets the index of the day of week.
-
- The index of the day of week.
-
-
-
- Gets the day of month.
-
- The day of month.
-
-
-
- Gets the end type.
-
- The end type.
-
-
-
- Gets the occurence count.
-
- The occurence count.
-
-
-
- Gets the first day of week.
-
- The first day of week.
-
-
-
- Gets the deleted instance count.
-
- The deleted instance count.
-
-
-
- Gets the deleted instance dates.
-
- The deleted instance dates.
-
-
-
- Gets the modified instance count.
-
- The modified instance count.
-
-
-
- Gets the modified instance dates.
-
- The modified instance dates.
-
-
-
- Gets the start date.
-
- The start date.
-
-
-
- Gets the end date.
-
- The end date.
-
-
-
- Enum RecurrencePatternType
-
-
-
-
- Specifies the recurrence pattern type.
-
-
-
-
- Represents a daily recurrence pattern.
-
-
-
-
- Represents a weekly recurrence pattern.
-
-
-
-
- Represents a monthly recurrence pattern.
-
-
-
-
- Represents a MonthNth recurrence pattern.
-
-
-
-
- Represents a yearly recurrence pattern.
-
-
-
-
- Represents a YearNth recurrence pattern.
-
-
-
-
- None.
-
-
-
-
- Indicates the response to a meeting request.
-
-
-
-
- The appointment is on the Organizer's calendar or the recipient is the Organizer of the meeting.
-
-
-
-
- Meeting tentatively accepted.
-
-
-
-
- Meeting accepted.
-
-
-
-
- Meeting declined.
-
-
-
-
- Recipient has not responded.
-
-
-
-
- The appointment is a simple appointment and does not require a response.
-
-
-
-
- Indicating the type of the mailing address for the contact.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- None.
-
-
-
-
- Identifies the sensitivity level assigned to a message item. These levels are arbitrarily set and filtered for, by the user.
-
-
-
-
- The message has the Personal sensitivity setting.
-
-
-
-
- The message has the Private sensitivity setting.
-
-
-
-
- The message has the Confidential sensitivity setting
-
-
-
-
- The message has the Normal sensitivity setting.
-
-
-
-
- Class StandardPropertySet.
-
-
-
-
- Contains a value that client applications should query to determine the characteristics of a message store.
-
-
-
-
- The message store supports properties containing ANSI (8-bit) characters.
-
-
-
-
- The message store supports attachments (OLE or non-OLE) to messages.
-
-
-
-
- The message store supports categorized views of tables.
-
-
-
-
- The message store supports creation of new messages.
-
-
-
-
- Entry identifiers for the objects in the message store are unique, that is, never reused during the life of the store.
-
-
-
-
- The message store supports HTML messages, stored in the property.
-
-
-
-
- In a wrapped PST store, indicates that when a new message arrives at the store, the store does rules and spam filter processing on the message separately.
-
-
-
-
- This flag is reserved and should not be used.
-
-
-
-
- The message store supports modification of its existing messages.
-
-
-
-
- The message store supports multivalued properties, guarantees the stability of value order in a multivalued property throughout a save operation, and supports instantiation of multivalued properties in tables.
-
-
-
-
- The message store supports notifications.
-
-
-
-
- The message store supports OLE attachments.
-
-
-
-
- The folders in this store are public (multi-user), not private (possibly multi-instance but not multi-user).
-
-
-
-
- The MAPI Protocol Handler will not crawl the store, and the store is responsible to push any changes through notifications to the indexer to have messages indexed.
-
-
-
-
- All interfaces for the message store have a read-only access level.
-
-
-
-
- The message store supports restrictions.
-
-
-
-
- The message store supports Rich Text Format (RTF) messages, usually compressed.
-
-
-
-
- The message store supports search-results folders.
-
-
-
-
- The message store supports sorting views of tables.
-
-
-
-
- The message store supports marking a message for submission.
-
-
-
-
- The message store supports storage of RTF messages in uncompressed form.
-
-
-
-
- The message store supports properties containing Unicode characters.
-
-
-
-
- Represents the status types of a delegated task.
-
-
-
-
- Specifies that this is not a delegated task or that the task request has been created but not sent. This is also used for a task request message, whether in the owner’s Sent Items folder or the delegate’s Inbox.
-
-
-
-
- Specifies that this is a new task request that has been sent, but the delegate has not yet responded to the task.
-
-
-
-
- Specifies that a task has been accepted. This value should not be in the enumeration.
-
-
-
-
- Specifies that the task has been accepted.
-
-
-
-
- Specifies that the task has been declined.
-
-
-
-
- None.
-
-
-
-
- Indicates the ownership state of the task.
-
-
-
-
- Specifies that task has not yet been assigned to a user.
-
-
-
-
- Specifies that task has been delegated to another user.
-
-
-
-
- Specifies that task is assigned to the current user.
-
-
-
-
- None.
-
-
-
-
- Identifies the status types of a task item.
-
-
-
-
- Specifies that the task is not started.
-
-
-
-
- Specifies that the task is in progress.
-
-
-
-
- Specifies that the task is completed.
-
-
-
-
- Specifies that the task is waiting on others.
-
-
-
-
- Specifies that the task is deferred.
-
-
-
-
- None.
-
-
-
-
diff --git a/App/CONFIG_APP/frmMain.Designer.vb b/App/CONFIG_APP/frmMain.Designer.vb
index 2ec6e47..b9c5368 100644
--- a/App/CONFIG_APP/frmMain.Designer.vb
+++ b/App/CONFIG_APP/frmMain.Designer.vb
@@ -283,6 +283,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.btnCheckIMAPObjects = New System.Windows.Forms.Button()
Me.AUTH_TYPEComboBox = New System.Windows.Forms.ComboBox()
Me.btntestImap = New System.Windows.Forms.Button()
Me.ARCHIVE_FOLDERTextBox = New System.Windows.Forms.TextBox()
@@ -1678,7 +1679,7 @@ Partial Class frmMain
Me.BindingNavigator2.MovePreviousItem = Me.ToolStripButton5
Me.BindingNavigator2.Name = "BindingNavigator2"
Me.BindingNavigator2.PositionItem = Me.ToolStripTextBox1
- Me.BindingNavigator2.Size = New System.Drawing.Size(968, 25)
+ Me.BindingNavigator2.Size = New System.Drawing.Size(1177, 25)
Me.BindingNavigator2.TabIndex = 32
Me.BindingNavigator2.Text = "BindingNavigator2"
'
@@ -1793,7 +1794,7 @@ Partial Class frmMain
Me.GridControl1.Location = New System.Drawing.Point(0, 0)
Me.GridControl1.MainView = Me.GridView1
Me.GridControl1.Name = "GridControl1"
- Me.GridControl1.Size = New System.Drawing.Size(241, 331)
+ Me.GridControl1.Size = New System.Drawing.Size(241, 314)
Me.GridControl1.TabIndex = 0
Me.GridControl1.ViewCollection.AddRange(New DevExpress.XtraGrid.Views.Base.BaseView() {Me.GridView1})
'
@@ -2945,6 +2946,7 @@ Partial Class frmMain
'TabPage3
'
Me.TabPage3.AutoScroll = True
+ Me.TabPage3.Controls.Add(Me.btnCheckIMAPObjects)
Me.TabPage3.Controls.Add(AUTH_TYPELabel)
Me.TabPage3.Controls.Add(Me.AUTH_TYPEComboBox)
Me.TabPage3.Controls.Add(Me.btntestImap)
@@ -2990,6 +2992,19 @@ Partial Class frmMain
Me.TabPage3.Text = "EMail-Konto Konfiguration"
Me.TabPage3.UseVisualStyleBackColor = True
'
+ 'btnCheckIMAPObjects
+ '
+ Me.btnCheckIMAPObjects.Image = Global.CONFIG_APP.My.Resources.Resources.arrow_right
+ Me.btnCheckIMAPObjects.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft
+ Me.btnCheckIMAPObjects.Location = New System.Drawing.Point(831, 203)
+ Me.btnCheckIMAPObjects.Name = "btnCheckIMAPObjects"
+ Me.btnCheckIMAPObjects.Size = New System.Drawing.Size(189, 35)
+ Me.btnCheckIMAPObjects.TabIndex = 80
+ Me.btnCheckIMAPObjects.Text = "Check Unseen IMAP Objects"
+ Me.btnCheckIMAPObjects.TextAlign = System.Drawing.ContentAlignment.MiddleRight
+ Me.btnCheckIMAPObjects.UseVisualStyleBackColor = True
+ Me.btnCheckIMAPObjects.Visible = False
+ '
'AUTH_TYPEComboBox
'
Me.AUTH_TYPEComboBox.DataBindings.Add(New System.Windows.Forms.Binding("Text", Me.TBDD_EMAIL_ACCOUNTBindingSource, "AUTH_TYPE", True))
@@ -3892,4 +3907,5 @@ Partial Class frmMain
Friend WithEvents ToolStripLabel5 As ToolStripLabel
Friend WithEvents ToolStripEmailAccountID As ToolStripTextBox
Friend WithEvents AUTH_TYPEComboBox As ComboBox
+ Friend WithEvents btnCheckIMAPObjects As Button
End Class
diff --git a/App/CONFIG_APP/frmMain.resx b/App/CONFIG_APP/frmMain.resx
index d6d4cdb..52faa27 100644
--- a/App/CONFIG_APP/frmMain.resx
+++ b/App/CONFIG_APP/frmMain.resx
@@ -403,9 +403,6 @@
rkJggg==
-
- 17, 95
-
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
@@ -458,27 +455,6 @@
8l/FYwIYQ4UGBWBgAAC+0b+zuQxOnAAAAABJRU5ErkJggg==
-
- 1021, 95
-
-
- 1175, 95
-
-
- 1143, 134
-
-
- 851, 173
-
-
- 180, 56
-
-
- 623, 134
-
-
- 537, 95
-
537, 95
@@ -552,9 +528,6 @@
17, 134
-
- 17, 134
-
1175, 95
@@ -625,9 +598,6 @@
239, 173
-
- 239, 173
-
1297, 134
diff --git a/App/CONFIG_APP/frmMain.vb b/App/CONFIG_APP/frmMain.vb
index ce6763d..1223626 100644
--- a/App/CONFIG_APP/frmMain.vb
+++ b/App/CONFIG_APP/frmMain.vb
@@ -289,13 +289,13 @@ Public Class frmMain
MyLogger.Debug = True
Dim _work As New clsWorker(MyLogger, _SQLServerConString, GUIDTextBox.Text, My.Settings.FB_DATASOURCE, My.Settings.FB_DATABASE, My.Settings.FB_USER, My.Settings.FB_PW,
- My.Settings.USE_WM, ToolStripEmailAccountID.Text)
+ My.Settings.USE_WM, ToolStripEmailAccountID.Text, "EmailProfilerTestClient")
_work.Start_WorkingProfiles()
Else
For Each ofile As String In _Worklist
Logger.Info($"## Manual working on file {ofile} ... ")
- Dim _work As New clsWorker(MyLogger, _SQLServerConString, GUIDTextBox.Text, My.Settings.FB_DATASOURCE, My.Settings.FB_DATABASE, My.Settings.FB_USER, My.Settings.FB_PW, My.Settings.USE_WM, ofile)
+ Dim _work As New clsWorker(MyLogger, _SQLServerConString, GUIDTextBox.Text, My.Settings.FB_DATASOURCE, My.Settings.FB_DATABASE, My.Settings.FB_USER, My.Settings.FB_PW, My.Settings.USE_WM, ToolStripEmailAccountID.Text, "EmailProfilerTestClient", ofile)
_work.Start_WorkingProfiles(True)
Next
@@ -678,17 +678,17 @@ Public Class frmMain
_database.Execute_non_Query(upd)
Load_Config()
End Sub
- Private Function GetChildren(ByVal bodyParts As BodyPartCollection) As BodyPartCollection
+ 'Private Function GetChildren(ByVal bodyParts As BodyPartCollection) As BodyPartCollection
- Dim children As New BodyPartCollection()
+ ' Dim children As New BodyPartCollection()
- For i As Integer = 0 To bodyParts.Count - 1
- children.Add(GetChildren(bodyParts(i).BodyParts))
- children.Add(bodyParts(i))
- Next
+ ' For i As Integer = 0 To bodyParts.Count - 1
+ ' children.Add(GetChildren(bodyParts(i).BodyParts))
+ ' children.Add(bodyParts(i))
+ ' Next
- Return children
- End Function
+ ' Return children
+ 'End Function
Private Sub STEP_NAMEComboBox_SelectedIndexChanged(sender As Object, e As EventArgs) Handles STEP_NAMEComboBox.SelectedIndexChanged
Label9.Visible = False
@@ -744,24 +744,35 @@ Public Class frmMain
Dim oSQL = $"SELECT * FROM TBDD_EMAIL_ACCOUNT WHERE GUID = {EMAILIDTextBox.Text}"
Dim oDT As DataTable = _database.Return_Datatable(oSQL)
If Not IsNothing(oDT) Then
+
If oDT.Rows.Count = 1 Then
Dim PWPlain = _Encryption.DecryptData(oDT.Rows(0).Item("EMAIL_PW"))
'Logger.Debug($"PWis !{PWPlain}35452dd=")
- _limilab.InitIMAP(oDT.Rows(0).Item("EMAIL_SMTP"), oDT.Rows(0).Item("PORT_IN"), oDT.Rows(0).Item("EMAIL_USER"), PWPlain, oDT.Rows(0).Item("AUTH_TYPE"))
+ _limilab.InitIMAP(True, oDT.Rows(0).Item("EMAIL_SMTP"), oDT.Rows(0).Item("PORT_IN"), oDT.Rows(0).Item("EMAIL_USER"), PWPlain, oDT.Rows(0).Item("AUTH_TYPE"))
Dim oResult = _limilab.IMAPTestLogin()
If oResult = False Then
MsgBox("Access Imap NOT successfull", MsgBoxStyle.Critical)
Else
- MsgBox("Test Successful!", MsgBoxStyle.Information)
+ MsgBox("IMAP-Test Successful!", MsgBoxStyle.Information)
+ btnCheckIMAPObjects.Visible = True
End If
End If
End If
+ End Sub
+ Private Sub btnCheckIMAPObjects_Click(sender As Object, e As EventArgs) Handles btnCheckIMAPObjects.Click
+ Dim oListuids As New List(Of Long)
+ oListuids = _limilab.IMAPGetUnseenMessageIDs()
+ If IsNothing(oListuids) Then
+ MsgBox("Something went wrong! - Check Your log.", MsgBoxStyle.Critical)
+ Else
+ _limilab.CloseImap()
+ MsgBox($"IMAP-Folder contained [{oListuids.Count}] unseen Objects!", MsgBoxStyle.Information)
+ End If
End Sub
-
Private Sub btnTestRegEx_Click(sender As Object, e As EventArgs) Handles btnTestRegEx.Click
txtResultRegEx.Text = ""
Try
@@ -815,56 +826,56 @@ Public Class frmMain
End Sub
Private Sub Button3_Click(sender As Object, e As EventArgs) Handles Button3.Click
- Try
- txthtmlEmail.Text = ""
- txthtmlEmail.BackColor = Color.Wheat
- Dim oOpenFileDialog1 As New OpenFileDialog()
+ 'Try
+ ' txthtmlEmail.Text = ""
+ ' txthtmlEmail.BackColor = Color.Wheat
+ ' Dim oOpenFileDialog1 As New OpenFileDialog()
- ' openFileDialog1.InitialDirectory = "c:\"
- oOpenFileDialog1.Filter = "Emails (*.eml)|*.eml|All files (*.*)|*.*"
- oOpenFileDialog1.FilterIndex = 2
- oOpenFileDialog1.RestoreDirectory = True
+ ' ' openFileDialog1.InitialDirectory = "c:\"
+ ' oOpenFileDialog1.Filter = "Emails (*.eml)|*.eml|All files (*.*)|*.*"
+ ' oOpenFileDialog1.FilterIndex = 2
+ ' oOpenFileDialog1.RestoreDirectory = True
- If oOpenFileDialog1.ShowDialog() = System.Windows.Forms.DialogResult.OK Then
- Dim oMsg_email As New Independentsoft.Email.Mime.Message(oOpenFileDialog1.FileName)
- Dim oBodyText As String = ""
- If IsNothing(oMsg_email.Body) Then
- Dim oAllBodyParts As New BodyPartCollection()
- oAllBodyParts.Add(oMsg_email.BodyParts)
- oAllBodyParts.Add(GetChildren(oMsg_email.BodyParts))
- For Each bodyPart As BodyPart In oAllBodyParts
- If bodyPart.ContentType IsNot Nothing AndAlso bodyPart.ContentType.Type = "text" AndAlso bodyPart.ContentType.SubType = "plain" Then
- If oBodyText = String.Empty Then
- Logger.Debug(String.Format("BODY1-Text is....#{0}", bodyPart.Body))
- oBodyText = bodyPart.Body
- Else
- Continue For
- End If
- ElseIf bodyPart.ContentType IsNot Nothing AndAlso bodyPart.ContentType.Type = "text" AndAlso bodyPart.ContentType.SubType = "html" Then
- If oBodyText = String.Empty Then
- oBodyText = bodyPart.Body
- Logger.Debug(String.Format("bodyhtml....#{0}", bodyPart.Body))
- Else
- Continue For
- End If
- Logger.Debug(String.Format("bodyhtml....#{0}", bodyPart.Body))
- End If
- Next
- If oBodyText = "" Then
- MsgBox("No html-body extractable?!")
- Else
- txthtmlEmail.Text = oBodyText
- txthtmlEmail.BackColor = Color.Yellow
- End If
- Else
- txthtmlEmail.Text = oMsg_email.Body
- txthtmlEmail.BackColor = Color.Yellow
- End If
+ ' If oOpenFileDialog1.ShowDialog() = System.Windows.Forms.DialogResult.OK Then
+ ' Dim oMsg_email As New Independentsoft.Email.Mime.Message(oOpenFileDialog1.FileName)
+ ' Dim oBodyText As String = ""
+ ' If IsNothing(oMsg_email.Body) Then
+ ' Dim oAllBodyParts As New BodyPartCollection()
+ ' oAllBodyParts.Add(oMsg_email.BodyParts)
+ ' oAllBodyParts.Add(GetChildren(oMsg_email.BodyParts))
+ ' For Each bodyPart As BodyPart In oAllBodyParts
+ ' If bodyPart.ContentType IsNot Nothing AndAlso bodyPart.ContentType.Type = "text" AndAlso bodyPart.ContentType.SubType = "plain" Then
+ ' If oBodyText = String.Empty Then
+ ' Logger.Debug(String.Format("BODY1-Text is....#{0}", bodyPart.Body))
+ ' oBodyText = bodyPart.Body
+ ' Else
+ ' Continue For
+ ' End If
+ ' ElseIf bodyPart.ContentType IsNot Nothing AndAlso bodyPart.ContentType.Type = "text" AndAlso bodyPart.ContentType.SubType = "html" Then
+ ' If oBodyText = String.Empty Then
+ ' oBodyText = bodyPart.Body
+ ' Logger.Debug(String.Format("bodyhtml....#{0}", bodyPart.Body))
+ ' Else
+ ' Continue For
+ ' End If
+ ' Logger.Debug(String.Format("bodyhtml....#{0}", bodyPart.Body))
+ ' End If
+ ' Next
+ ' If oBodyText = "" Then
+ ' MsgBox("No html-body extractable?!")
+ ' Else
+ ' txthtmlEmail.Text = oBodyText
+ ' txthtmlEmail.BackColor = Color.Yellow
+ ' End If
+ ' Else
+ ' txthtmlEmail.Text = oMsg_email.Body
+ ' txthtmlEmail.BackColor = Color.Yellow
+ ' End If
- End If
- Catch ex As Exception
- MsgBox(ex.Message, MsgBoxStyle.Critical)
- End Try
+ ' End If
+ 'Catch ex As Exception
+ ' MsgBox(ex.Message, MsgBoxStyle.Critical)
+ 'End Try
End Sub
@@ -897,8 +908,13 @@ Public Class frmMain
Private Sub COMMENTTextBox_Leave(sender As Object, e As EventArgs) Handles COMMENTTextBox.Leave
- Dim separatorIndex = COMMENTTextBox.Text.IndexOf(".")
- TextBox1.Text = COMMENTTextBox.Text.Substring(separatorIndex, COMMENTTextBox.Text.Length - 1)
+ Try
+ Dim separatorIndex = COMMENTTextBox.Text.IndexOf(".")
+ TextBox1.Text = COMMENTTextBox.Text.Substring(separatorIndex, COMMENTTextBox.Text.Length - 1)
+ Catch ex As Exception
+
+ End Try
+
End Sub
Private Sub EMAILIDTextBox_TextChanged(sender As Object, e As EventArgs) Handles EMAILIDTextBox.TextChanged
@@ -907,7 +923,7 @@ Public Class frmMain
Else
ToolStripEmailAccountID.Text = "Choose Email-Config"
End If
-
+ btnCheckIMAPObjects.Visible = False
End Sub
Private Sub AUTH_TYPEComboBox_SelectedIndexChanged(sender As Object, e As EventArgs) Handles AUTH_TYPEComboBox.SelectedIndexChanged
@@ -920,4 +936,15 @@ Public Class frmMain
End Select
End If
End Sub
+
+ Private Sub ComboBox1_SelectedIndexChanged(sender As Object, e As EventArgs) Handles ComboBox1.SelectedIndexChanged
+ Try
+ If ComboBox1.SelectedIndex <> -1 Then
+ ToolStripEmailAccountID.Text = ComboBox1.SelectedValue
+ End If
+ Catch ex As Exception
+
+ End Try
+
+ 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 c062869..e09c811 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 b8bcb43..9dee295 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.AssemblyReference.cache b/App/CONFIG_APP/obj/Debug/CONFIG_APP.vbproj.AssemblyReference.cache
index 590567c..c951ca1 100644
Binary files a/App/CONFIG_APP/obj/Debug/CONFIG_APP.vbproj.AssemblyReference.cache and b/App/CONFIG_APP/obj/Debug/CONFIG_APP.vbproj.AssemblyReference.cache 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 d5b532a..dc3baf1 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 @@
-95daf7e3d3207550e7dac80df1cfd1d9d80b6a25
+731743bc36952eeddee9457809a0beb5ae6eac4a
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 2118291..f48a234 100644
--- a/App/CONFIG_APP/obj/Debug/CONFIG_APP.vbproj.FileListAbsolute.txt
+++ b/App/CONFIG_APP/obj/Debug/CONFIG_APP.vbproj.FileListAbsolute.txt
@@ -1,11 +1,10 @@
-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\obj\Debug\CONFIG_APP.exe
+E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\CONFIG_APP\bin\Debug\DevExpress.Printing.v19.2.Core.dll
+E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\CONFIG_APP\bin\Debug\DevExpress.Printing.v19.2.Core.xml
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
E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\CONFIG_APP\bin\Debug\CONFIG_APP.xml
E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\CONFIG_APP\bin\Debug\DevExpress.Data.v19.2.dll
-E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\CONFIG_APP\bin\Debug\DevExpress.Printing.v19.2.Core.dll
E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\CONFIG_APP\bin\Debug\DevExpress.Utils.v19.2.dll
E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\CONFIG_APP\bin\Debug\DevExpress.XtraEditors.v19.2.dll
E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\CONFIG_APP\bin\Debug\DevExpress.XtraGrid.v19.2.dll
@@ -14,12 +13,9 @@ 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\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\Mail.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\Independentsoft.Msg.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.v19.2.Core.dll
E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\CONFIG_APP\bin\Debug\DevExpress.Sparkline.v19.2.Core.dll
@@ -29,6 +25,7 @@ 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\DigitalData.Modules.Filesystem.dll
E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\CONFIG_APP\bin\Debug\DigitalData.Modules.Language.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\DigitalData.Modules.Encryption.dll
E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\CONFIG_APP\bin\Debug\DevExpress.Office.v19.2.Core.dll
E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\CONFIG_APP\bin\Debug\DevExpress.Images.v19.2.dll
@@ -37,7 +34,6 @@ E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\CONFIG_APP\bin\Debug\Digita
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.v19.2.xml
-E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\CONFIG_APP\bin\Debug\DevExpress.Printing.v19.2.Core.xml
E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\CONFIG_APP\bin\Debug\DevExpress.Utils.v19.2.xml
E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\CONFIG_APP\bin\Debug\DevExpress.XtraEditors.v19.2.xml
E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\CONFIG_APP\bin\Debug\DevExpress.XtraGrid.v19.2.xml
@@ -47,10 +43,7 @@ E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\CONFIG_APP\bin\Debug\Digita
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\Independentsoft.Msg.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
@@ -126,5 +119,6 @@ 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.licenses
E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\CONFIG_APP\obj\Debug\CONFIG_APP.vbproj.CoreCompileInputs.cache
E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\CONFIG_APP\obj\Debug\CONFIG_APP.vbproj.CopyComplete
+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
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 d9aa1d8..86cb58d 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/DesignTimeResolveAssemblyReferences.cache b/App/CONFIG_APP/obj/Debug/DesignTimeResolveAssemblyReferences.cache
index a5e1ec6..eeb7f3a 100644
Binary files a/App/CONFIG_APP/obj/Debug/DesignTimeResolveAssemblyReferences.cache and b/App/CONFIG_APP/obj/Debug/DesignTimeResolveAssemblyReferences.cache differ
diff --git a/App/CONFIG_APP/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/App/CONFIG_APP/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache
index 6454380..d7df76b 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 21077f1..f4fc5d6 100644
--- a/App/DigitalData.EMLProfiler/ClassCurrent.vb
+++ b/App/DigitalData.EMLProfiler/ClassCurrent.vb
@@ -3,6 +3,8 @@ Imports Limilabs.Mail
Imports Limilabs.Mail.MIME
Imports Limilabs.Mail.Headers
Imports MailBox = Limilabs.Mail.Headers.MailBox
+Imports Limilabs.Client.IMAP
+
Public Class ClassCurrent
Public Shared WM_CON_STRING As String
Public Shared WM_DRIVE As String
@@ -27,11 +29,13 @@ Public Class ClassCurrent
Public Shared MAIL_PORT As Integer = 995
Public Shared MAIL_INBOX_NAME As String = "Inbox"
Public Shared MAIL_ARCHIVE_FOLDER As String = ""
+ Public Shared MAIL_AUTHTYPE As String
Public Shared DT_POLL_PROCESS As DataTable
Public Shared DT_STEPS As DataTable
Public Shared DT_INDEXING_STEPS As DataTable
- Public Shared CURRENT_WORKMAIL_LIST As New ArrayList()
+ ' Public Shared oCURRENT_WORKMAIL_LIST As New ArrayList()
+ Public Shared CURRENT_WORKMAIL_UID_LIST As New List(Of Long)
Public Shared CURRENT_MAIL_MESSAGE As IMail
Public Shared CURRENT_TEMP_MAIL_PATH As String
@@ -41,8 +45,11 @@ Public Class ClassCurrent
Public Shared CURRENT_MAIL_SUBJECT As String = ""
Public Shared CURRENT_MAIL_FROM As String = ""
Public Shared CURRENT_MAIL_MESSAGE_ID As String = ""
+ Public Shared CURRENT_MAIL_UID As Long
Public Shared CURRENT_MAIL_PROCESS_NAME As String
+ Public Shared CURRENT_ImapObject As Imap
+ Public Shared DeleteMail As Boolean = False
Public Shared CURRENT_POLL_TYPE As String
Public Shared POLL_STEP_GUID As Integer
diff --git a/App/DigitalData.EMLProfiler/DigitalData.EMLProfiler.vbproj b/App/DigitalData.EMLProfiler/DigitalData.EMLProfiler.vbproj
index 5ed46a7..3f430d7 100644
--- a/App/DigitalData.EMLProfiler/DigitalData.EMLProfiler.vbproj
+++ b/App/DigitalData.EMLProfiler/DigitalData.EMLProfiler.vbproj
@@ -59,9 +59,6 @@
..\..\..\DDMonorepo\Modules.Messaging\bin\Debug\DigitalData.Modules.Messaging.dll
-
- P:\Visual Studio Projekte\Bibliotheken\MSG .NET\Bin\Independentsoft.Msg.dll
-
P:\Visual Studio Projekte\Bibliotheken\windream\Interop.WINDREAMLib.dll
False
@@ -82,9 +79,6 @@
False
P:\Projekte DIGITAL DATA\DIGITAL DATA - Entwicklung\DLL_Bibliotheken\NLog.dll
-
- ..\packages\S22.Imap.3.6.0.0\lib\net40\S22.Imap.dll
-
diff --git a/App/DigitalData.EMLProfiler/ModuleCurrent.vb b/App/DigitalData.EMLProfiler/ModuleCurrent.vb
index 0da266c..e9a8ff7 100644
--- a/App/DigitalData.EMLProfiler/ModuleCurrent.vb
+++ b/App/DigitalData.EMLProfiler/ModuleCurrent.vb
@@ -3,4 +3,5 @@
Public CURRENToWMSession_Created As Date = Now
Public CURRENToWMConnect As Object
Public CURRENT_ATTMT_COUNT As Integer
+ Public SUBJECT_PRAFIX As String = "EmailProfiler"
End Module
diff --git a/App/DigitalData.EMLProfiler/My Project/AssemblyInfo.vb b/App/DigitalData.EMLProfiler/My Project/AssemblyInfo.vb
index 7de8016..2795c94 100644
--- a/App/DigitalData.EMLProfiler/My Project/AssemblyInfo.vb
+++ b/App/DigitalData.EMLProfiler/My Project/AssemblyInfo.vb
@@ -12,7 +12,7 @@ Imports System.Runtime.InteropServices
-
+
@@ -31,5 +31,5 @@ Imports System.Runtime.InteropServices
' übernehmen, indem Sie "*" eingeben:
'
-
-
+
+
diff --git a/App/DigitalData.EMLProfiler/My Project/Settings.Designer.vb b/App/DigitalData.EMLProfiler/My Project/Settings.Designer.vb
index 5a8f927..4a475bf 100644
--- a/App/DigitalData.EMLProfiler/My Project/Settings.Designer.vb
+++ b/App/DigitalData.EMLProfiler/My Project/Settings.Designer.vb
@@ -53,15 +53,6 @@ Namespace My
Return defaultInstance
End Get
End Property
-
- _
- Public ReadOnly Property PraefixSubject() As String
- Get
- Return CType(Me("PraefixSubject"),String)
- End Get
- End Property
End Class
End Namespace
diff --git a/App/DigitalData.EMLProfiler/My Project/Settings.settings b/App/DigitalData.EMLProfiler/My Project/Settings.settings
index 6062755..f7f176a 100644
--- a/App/DigitalData.EMLProfiler/My Project/Settings.settings
+++ b/App/DigitalData.EMLProfiler/My Project/Settings.settings
@@ -1,9 +1,5 @@
-
+
-
-
- Email-Profiler
-
-
+
\ No newline at end of file
diff --git a/App/DigitalData.EMLProfiler/app.config b/App/DigitalData.EMLProfiler/app.config
index cf70779..9ee3dcd 100644
--- a/App/DigitalData.EMLProfiler/app.config
+++ b/App/DigitalData.EMLProfiler/app.config
@@ -1,9 +1,6 @@
-
-
-
@@ -27,11 +24,4 @@
-
-
-
- Email-Profiler
-
-
-
diff --git a/App/DigitalData.EMLProfiler/bin/Debug/DigitalData.EMLProfiler.dll b/App/DigitalData.EMLProfiler/bin/Debug/DigitalData.EMLProfiler.dll
index 3e60104..964626e 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.dll.config b/App/DigitalData.EMLProfiler/bin/Debug/DigitalData.EMLProfiler.dll.config
index cf70779..9ee3dcd 100644
--- a/App/DigitalData.EMLProfiler/bin/Debug/DigitalData.EMLProfiler.dll.config
+++ b/App/DigitalData.EMLProfiler/bin/Debug/DigitalData.EMLProfiler.dll.config
@@ -1,9 +1,6 @@
-
-
-
@@ -27,11 +24,4 @@
-
-
-
- Email-Profiler
-
-
-
diff --git a/App/DigitalData.EMLProfiler/bin/Debug/DigitalData.EMLProfiler.pdb b/App/DigitalData.EMLProfiler/bin/Debug/DigitalData.EMLProfiler.pdb
index 77e2fa0..53b431f 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 773dc1f..b8807cd 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 5620b73..f9fd742 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.Filesystem.dll b/App/DigitalData.EMLProfiler/bin/Debug/DigitalData.Modules.Filesystem.dll
index e5d74e9..22b2332 100644
Binary files a/App/DigitalData.EMLProfiler/bin/Debug/DigitalData.Modules.Filesystem.dll and b/App/DigitalData.EMLProfiler/bin/Debug/DigitalData.Modules.Filesystem.dll differ
diff --git a/App/DigitalData.EMLProfiler/bin/Debug/DigitalData.Modules.Filesystem.pdb b/App/DigitalData.EMLProfiler/bin/Debug/DigitalData.Modules.Filesystem.pdb
index 10565ca..6ce66a3 100644
Binary files a/App/DigitalData.EMLProfiler/bin/Debug/DigitalData.Modules.Filesystem.pdb and b/App/DigitalData.EMLProfiler/bin/Debug/DigitalData.Modules.Filesystem.pdb differ
diff --git a/App/DigitalData.EMLProfiler/bin/Debug/DigitalData.Modules.Language.dll b/App/DigitalData.EMLProfiler/bin/Debug/DigitalData.Modules.Language.dll
index b4bdf07..c9edd87 100644
Binary files a/App/DigitalData.EMLProfiler/bin/Debug/DigitalData.Modules.Language.dll and b/App/DigitalData.EMLProfiler/bin/Debug/DigitalData.Modules.Language.dll differ
diff --git a/App/DigitalData.EMLProfiler/bin/Debug/DigitalData.Modules.Language.pdb b/App/DigitalData.EMLProfiler/bin/Debug/DigitalData.Modules.Language.pdb
index 7f433fa..6aaa49e 100644
Binary files a/App/DigitalData.EMLProfiler/bin/Debug/DigitalData.Modules.Language.pdb and b/App/DigitalData.EMLProfiler/bin/Debug/DigitalData.Modules.Language.pdb differ
diff --git a/App/DigitalData.EMLProfiler/bin/Debug/DigitalData.Modules.Logging.dll b/App/DigitalData.EMLProfiler/bin/Debug/DigitalData.Modules.Logging.dll
index 12e0bcb..901428b 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 d4607ac..a64795e 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/bin/Debug/DigitalData.Modules.Messaging.dll b/App/DigitalData.EMLProfiler/bin/Debug/DigitalData.Modules.Messaging.dll
index df7838d..f8f0e85 100644
Binary files a/App/DigitalData.EMLProfiler/bin/Debug/DigitalData.Modules.Messaging.dll and b/App/DigitalData.EMLProfiler/bin/Debug/DigitalData.Modules.Messaging.dll differ
diff --git a/App/DigitalData.EMLProfiler/bin/Debug/DigitalData.Modules.Messaging.pdb b/App/DigitalData.EMLProfiler/bin/Debug/DigitalData.Modules.Messaging.pdb
index fd9d661..52698e1 100644
Binary files a/App/DigitalData.EMLProfiler/bin/Debug/DigitalData.Modules.Messaging.pdb and b/App/DigitalData.EMLProfiler/bin/Debug/DigitalData.Modules.Messaging.pdb differ
diff --git a/App/DigitalData.EMLProfiler/bin/Debug/DigitalData.Modules.Messaging.xml b/App/DigitalData.EMLProfiler/bin/Debug/DigitalData.Modules.Messaging.xml
index 46f463e..27ddf09 100644
--- a/App/DigitalData.EMLProfiler/bin/Debug/DigitalData.Modules.Messaging.xml
+++ b/App/DigitalData.EMLProfiler/bin/Debug/DigitalData.Modules.Messaging.xml
@@ -22,31 +22,6 @@ DigitalData.Modules.Messaging
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.
@@ -80,7 +55,7 @@ DigitalData.Modules.Messaging
The optional suffix to add to the original filename.
The path of the new EML without attachments.
-
+
Initializes the module.
diff --git a/App/DigitalData.EMLProfiler/bin/Debug/Independentsoft.Msg.dll b/App/DigitalData.EMLProfiler/bin/Debug/Independentsoft.Msg.dll
deleted file mode 100644
index cb99b88..0000000
Binary files a/App/DigitalData.EMLProfiler/bin/Debug/Independentsoft.Msg.dll and /dev/null differ
diff --git a/App/DigitalData.EMLProfiler/bin/Debug/Independentsoft.Msg.xml b/App/DigitalData.EMLProfiler/bin/Debug/Independentsoft.Msg.xml
deleted file mode 100644
index cd4ad0a..0000000
--- a/App/DigitalData.EMLProfiler/bin/Debug/Independentsoft.Msg.xml
+++ /dev/null
@@ -1,4492 +0,0 @@
-
-
-
- Independentsoft.Msg
-
-
-
-
- Represents a file used to store data as virtual streams.
-
-
-
-
- Initializes a new instance of the CompoundFile class.
-
-
-
-
- Initializes a new instance of the CompoundFile class based on the supplied file.
-
- File path.
-
-
-
- Initializes a new instance of the CompoundFile class based on the supplied stream.
-
- A stream.
-
-
-
- Opens compound file from the specified file.
-
- File path.
-
-
-
- Opens compound file from the specified stream.
-
- A stream.
-
-
-
- Gets stream to read from this compound file.
-
-
-
-
-
- Gets buffer to read from this compound file.
-
-
-
-
-
- Saves this compound file to the specified file.
-
- File path.
-
-
-
- Saves this compound file to the specified file.
-
- File path.
- True to overwrite existing file, otherwise false.
-
-
-
- Saves this compound file to the specified stream.
-
- A stream.
-
-
-
- Gets the root node.
-
-
-
-
- Gets or sets major version. Allowed values are 3 (512 bytes sector size) or 4 (4096 bytes sector size).
-
-
-
-
- Gets FAT sector size.
-
-
-
-
- Gets size of mini sectors.
-
-
-
-
- Gets FAT sector count.
-
-
-
-
- Gets maximum size of mini streams.
-
-
-
-
- Gets count of mini FAT sectors.
-
-
-
-
- Gets or sets compound file class ID.
-
-
-
-
- Represents a directory entry.
-
-
-
-
- Compares this instance with the specified object and indicates whether this instance precedes, follows, or appears in the same position in the sort order as the specified DirectoryEntry.
-
- A DirectoryEntry
- A 32-bit signed integer that indicates whether this instance precedes, follows, or appears in the same position in the sort order as the value parameter.
-
-
-
- Gets or sets name.
-
-
-
-
- Gets creation time.
-
-
-
-
- Gets last modified time.
-
-
-
-
- Gets size.
-
-
-
-
- Gets or sets class ID.
-
-
-
-
- Description of DirectoryEntryList.
-
-
-
-
- Gets the with the specified name.
-
- The name.
- DirectoryEntry.
-
-
-
- The exception that is thrown when an input file or a data stream that is supposed to conform to a certain file format specification is malformed.
-
-
-
-
- Creates a new instance of the InvalidFileFormatException class.
-
-
-
-
- Creates a new instance of the InvalidFileFormatException class with the specified error message.
-
- The message that describes the error.
-
-
-
- Creates a new instance of the InvalidFileFormatException class with the specified error message and inner exception.
-
- The message that describes the error.
- The exception that is the cause of the current exception. If the innerException parameter is not a null reference (Nothing in Visual Basic), the current exception is raised in a catch block that handles the inner exception.
-
-
-
- Represents a root node.
-
-
- RootDirectoryEntry object in a compound file that must be accessed before any other objects and objects are referenced. It is the uppermost parent object in the storage object and stream object hierarchy.
-
-
-
-
- Gets root's name.
-
-
-
-
- Gets collection of .
-
-
-
-
- Contains collection of .
-
-
- Storage is analogous to a file system directory. The parent object of a storage object must be another storage object or the .
-
-
-
-
- Initializes a new instance of the Storage class.
-
-
-
-
- Initializes a new instance of the Storage class.
-
- Storage name.
-
-
-
- Gets collection of .
-
-
-
-
- Represents a virtual stream to store data.
-
-
- Stream is analogous to a file system file. The parent object of a stream object must be a object or the .
-
-
-
-
- Initializes a new instance of the Stream class.
-
-
-
-
- Initializes a new instance of the Stream class and load data from the specified file.
-
- File path.
-
-
-
- Initializes a new instance of the Stream class and load data from the specified .
-
- Stream name.
- A stream.
-
-
-
- Initializes a new instance of the Stream class and load data from the specified buffer.
-
- Stream name.
- Data buffer.
-
-
-
- Loads data to this stream from the specified file.
-
- File path.
-
-
-
- Loads data to this stream from the specified .
-
- Stream name.
- A stream.
-
-
-
- Loads data to this stream from the specified buffer.
-
- Stream name.
- Data buffer.
-
-
-
- Saves data from this stream to to the specified file.
-
- File path.
-
-
-
- Saves data from this stream to the specified .
-
- A stream.
-
-
-
- Gets to read data from this stream.
-
-
-
-
-
- Gets or sets streams data.
-
-
-
-
- Class Attachment.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class.
-
- The file path.
-
-
-
- Initializes a new instance of the class.
-
- The stream.
-
-
-
- Initializes a new instance of the class.
-
- The buffer.
-
-
-
- Initializes a new instance of the class.
-
- The stream.
- The name.
-
-
-
- Initializes a new instance of the class.
-
- The buffer.
- The name.
-
-
-
- Saves the specified stream.
-
- The stream.
- stream
-
-
-
- Saves this message to the specified file.
-
- File path.
-
-
-
- Saves this message to the specified file.
-
- File path.
- True to overwrite existing file, otherwise false.
-
-
-
- Gets the stream.
-
- Stream.
-
-
-
- Gets the bytes.
-
- System.Byte[][].
-
-
-
- Gets the name of the file.
-
- System.String.
-
-
-
- Returns a that represents this instance.
-
- A that represents this instance.
-
-
-
- Gets or sets the name.
-
- The name.
-
-
-
- Gets or sets the type of the content.
-
- The type of the content.
-
-
-
- Gets or sets the content identifier.
-
- The content identifier.
-
-
-
- Gets or sets the content location.
-
- The content location.
-
-
-
- Gets or sets the content description.
-
- The content description.
-
-
-
- Gets or sets the content disposition.
-
- The content disposition.
-
-
-
- Class BodyPart.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class.
-
- The attachment.
-
-
-
- Saves the specified file path.
-
- The file path.
-
-
-
- Saves the specified file path.
-
- The file path.
- if set to true [overwrite].
-
-
-
- Saves the specified stream.
-
- The stream.
- stream
-
-
-
- Gets the bytes.
-
- System.Byte[][].
-
-
-
- Gets the stream.
-
- Stream.
-
-
-
- Returns a that represents this instance.
-
- A that represents this instance.
-
-
-
- Gets the headers.
-
- The headers.
-
-
-
- Gets the body parts.
-
- The body parts.
-
-
-
- Gets or sets the body.
-
- The body.
-
-
-
- Gets or sets the embedded message.
-
- The embedded message.
-
-
-
- Gets or sets the header encoding.
-
- The header encoding.
-
-
-
- Gets or sets the header character set.
-
- The header character set.
-
-
-
- Gets or sets the type of the content.
-
- The type of the content.
-
-
-
- Gets or sets the content transfer encoding.
-
- The content transfer encoding.
-
-
-
- Gets or sets the content disposition.
-
- The content disposition.
-
-
-
- Gets or sets the content description.
-
- The content description.
-
-
-
- Gets or sets the content identifier.
-
- The content identifier.
-
-
-
- Gets or sets the content location.
-
- The content location.
-
-
-
- Class BodyPartList.
-
-
-
-
- Adds the specified attachment.
-
- The attachment.
-
-
-
- Class ContentDisposition.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class.
-
- The type.
-
-
-
- Initializes a new instance of the class.
-
- The content disposition.
-
-
-
- Returns a that represents this instance.
-
- A that represents this instance.
-
-
-
- Gets or sets the type.
-
- The type.
-
-
-
- Gets the parameters.
-
- The parameters.
-
-
-
- Summary description for ContentDispositionType.
-
-
-
-
- Specifies that the attachment is to be displayed as a file attached to the e-mail message.
-
-
-
-
- The attachment is to be displayed as part of the e-mail message body.
-
-
-
-
- Specifies the Content-Transfer-Encoding header information for an e-mail message attachment.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Class ContentType.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class.
-
- The type.
- The subtype.
-
-
-
- Initializes a new instance of the class.
-
- The type.
- The subtype.
- The charset.
-
-
-
- Initializes a new instance of the class.
-
- Type of the content.
-
-
-
- Returns a that represents this instance.
-
- A that represents this instance.
-
-
-
- Gets or sets the type.
-
- The type.
-
-
-
- Gets or sets the type of the sub.
-
- The type of the sub.
-
-
-
- Gets or sets the character set.
-
- The character set.
-
-
-
- Gets the parameters.
-
- The parameters.
-
-
-
- Class Header.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class.
-
- The name.
- The value.
-
-
-
- Initializes a new instance of the class.
-
- The name.
- The value.
-
-
-
- Returns a that represents this instance.
-
- A that represents this instance.
-
-
-
- Gets or sets the name.
-
- The name.
-
-
-
- Gets or sets the value.
-
- The value.
-
-
-
- Contains types of header encoding.
-
-
-
-
- Quoted-Printable encoding.
-
-
-
-
- Binary encoding.
-
-
-
-
- Class HeaderList.
-
-
-
-
- Removes the specified standard header.
-
- The standard header.
-
-
-
- Removes the specified name.
-
- The name.
-
-
-
- Gets the with the specified name.
-
- The name.
- Header.
-
-
-
- Gets the with the specified name.
-
- The name.
- Header.
-
-
-
- Represents a mailbox.
-
-
-
-
- Initializes a new instance of the Mailbox.
-
-
-
-
- Initializes a new instance of the Mailbox.
-
- Email address of mailbox owner.
- Name of mailbox owner.
-
-
-
- Initializes a new instance of the Mailbox.
-
- Email address and name of mailbox owner.
-
-
-
- Returns a String that represents the current Mailbox.
-
-
-
-
-
- Gets or sets display name.
-
-
-
-
- Gets or sets email address.
-
-
-
-
- Class Message.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class.
-
- The file path.
-
-
-
- Initializes a new instance of the class.
-
- The stream.
-
-
-
- Initializes a new instance of the class.
-
- The buffer.
-
-
-
- Opens the specified file path.
-
- The file path.
-
-
-
- Opens the specified stream.
-
- The stream.
- stream
-
-
-
- Opens the specified buffer.
-
- The buffer.
-
-
-
- Gets the attachments.
-
- Attachment[][].
-
-
-
- Gets the attachments.
-
- if set to true [include embedded].
- Attachment[][].
-
-
-
- Gets the name of the file.
-
- System.String.
-
-
-
- Saves the specified stream.
-
- The stream.
- stream
-
-
-
- Saves this message to the specified file.
-
- File path.
-
-
-
- Saves this message to the specified file.
-
- File path.
- True to overwrite existing file, otherwise false.
-
-
-
- Gets the bytes.
-
- System.Byte[][].
-
-
-
- Gets the stream.
-
- Stream.
-
-
-
- Returns a that represents this instance.
-
- A that represents this instance.
-
-
-
- Gets the headers.
-
- The headers.
-
-
-
- Gets the body parts.
-
- The body parts.
-
-
-
- Gets or sets the body.
-
- The body.
-
-
-
- Gets or sets the embedded message.
-
- The embedded message.
-
-
-
- Gets or sets the header encoding.
-
- The header encoding.
-
-
-
- Gets or sets the header character set.
-
- The header character set.
-
-
-
- Gets or sets the type of the content.
-
- The type of the content.
-
-
-
- Gets or sets the content transfer encoding.
-
- The content transfer encoding.
-
-
-
- Gets or sets the content disposition.
-
- The content disposition.
-
-
-
- Gets or sets the content description.
-
- The content description.
-
-
-
- Gets or sets the content identifier.
-
- The content identifier.
-
-
-
- Gets or sets the content location.
-
- The content location.
-
-
-
- Gets or sets the subject.
-
- The subject.
-
-
-
- Gets or sets the MIME version.
-
- The MIME version.
-
-
-
- Gets or sets the comments.
-
- The comments.
-
-
-
- Gets or sets the keywords.
-
- The keywords.
-
-
-
- Gets or sets the message identifier.
-
- The message identifier.
-
-
-
- Gets or sets the resent message identifier.
-
- The resent message identifier.
-
-
-
- Gets or sets the date.
-
- The date.
-
-
-
- Gets or sets the resent date.
-
- The resent date.
-
-
-
- Gets or sets the references.
-
- The references.
-
-
-
- Gets to.
-
- To.
-
-
-
- Gets the cc.
-
- The cc.
-
-
-
- Gets the BCC.
-
- The BCC.
-
-
-
- Gets the reply to.
-
- The reply to.
-
-
-
- Gets or sets from.
-
- From.
-
-
-
- Gets or sets the sender.
-
- The sender.
-
-
-
- Gets or sets the resent from.
-
- The resent from.
-
-
-
- Gets or sets the resent sender.
-
- The resent sender.
-
-
-
- Gets or sets the in reply to.
-
- The in reply to.
-
-
-
- Gets or sets the return path.
-
- The return path.
-
-
-
- The exception that is thrown when load or parse message with wrong format.
-
-
-
-
- Initializes a new instance of the MessageFormatException class.
-
-
-
-
- Initializes a new instance of the MessageFormatException class with the specified error message.
-
- Error description.
-
-
-
- Initializes a new instance of the MessageFormatException class with the specified error message and inner exception.
-
- The message that describes the error
- The exception that is the cause of the current exception. If the innerException parameter is not a null reference (Nothing in Visual Basic), the current exception is raised in a catch block that handles the inner exception.
-
-
-
- Class Parameter.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class.
-
- The name.
-
-
-
- Initializes a new instance of the class.
-
- The name.
- The value.
-
-
-
- Returns a that represents this instance.
-
- A that represents this instance.
-
-
-
- Gets or sets the name.
-
- The name.
-
-
-
- Gets or sets the value.
-
- The value.
-
-
-
- Class ParameterList.
-
-
-
-
- Removes the specified name.
-
- The name.
-
-
-
- Gets the with the specified name.
-
- The name.
- Parameter.
-
-
-
- Contains the standard message headers defined in RFC 2822.
-
-
-
-
- Resent-Date header field.
-
-
-
-
- Resent-From header field.
-
-
-
-
- Resent-Sender header field.
-
-
-
-
- Resent-To header field.
-
-
-
-
- Resent-Cc header field.
-
-
-
-
- Resent-Bcc header field.
-
-
-
-
- Resent-Msg-ID header field.
-
-
-
-
- From header field.
-
-
-
-
- Sender header field.
-
-
-
-
- Reply-To header field.
-
-
-
-
- To header field.
-
-
-
-
- Cc header field.
-
-
-
-
- Bcc header field.
-
-
-
-
- Message-ID header field.
-
-
-
-
- In-Reply-To header field.
-
-
-
-
- References header field.
-
-
-
-
- Subject header field.
-
-
-
-
- Comments header field.
-
-
-
-
- Keywords header field.
-
-
-
-
- Date header field.
-
-
-
-
- Return-Path header field.
-
-
-
-
- Received header field.
-
-
-
-
- MIME-Version header field.
-
-
-
-
- Content-Type header field.
-
-
-
-
- Content-ID header field.
-
-
-
-
- Content-Transfer-Encoding header field.
-
-
-
-
- Content-Description header field.
-
-
-
-
- Content-Disposition header field.
-
-
-
-
- Content-Location header field.
-
-
-
-
- Content-Length header field.
-
-
-
-
- Summary description for Util.
-
-
-
-
- Represents an attachment to a message.
-
-
-
-
- Initializes a new instance of the Attachment class.
-
-
-
-
- Initializes a new instance of the Attachment class based on the supplied file.
-
- File path.
-
-
-
- Initializes a new instance of the Attachment class based on the supplied stream.
-
- Attachment file name.
- A stream.
-
-
-
- Initializes a new instance of the Attachment class based on the supplied byte array.
-
- Attachment file name.
- A byte array.
-
-
-
- Saves this attachment to the specified file.
-
- File path.
-
-
-
- Saves this attachment to the specified file.
-
- File path.
- True to overwrite existing file, otherwise false.
-
-
-
- Saves this attachment to the specified stream.
-
- A stream.
- stream
-
-
-
- Gets bytes to read from this attachment.
-
- Attachment as a byte array.
-
-
-
- Gets bytes to read from this attachment.
-
- Attachment as a byte array.
-
-
-
- Gets stream to read from this attachment.
-
- A stream.
-
-
-
- Provides file type information for a non-Windows attachment.
-
- The additional information.
-
-
-
- Contains the content base header of a MIME message attachment.
-
- The content base.
-
-
-
- Contains the content identification header of a MIME message attachment.
-
- The content identifier.
-
-
-
- Contains the content location header of a MIME message attachment.
-
- The content location.
-
-
-
- Contains the content disposition header of a MIME message attachment.
-
- The content disposition.
-
-
-
- Contains binary attachment data.
-
- The data.
-
-
-
- Contains attachment's data as embedded object.
-
- The data object.
-
-
-
- Contains the encoding for an attachment.
-
- The encoding.
-
-
-
- Contains the record key for an attachment.
-
- The record key.
-
-
-
- Contains a file name extension that indicates the document type of an attachment.
-
- The extension.
-
-
-
- Contains an attachment's base file name and extension, excluding path.
-
- The name of the file.
-
-
-
- Contains flags for an attachment.
-
- The flags.
-
-
-
- Contains an attachment's long filename and extension, excluding path.
-
- The long name of the file.
-
-
-
- Contains an attachment's fully-qualified long path and filename.
-
- The long name of the path.
-
-
-
- Contains a MAPI-defined constant representing the way the contents of an attachment can be accessed.
-
- The method.
-
-
-
- Contains the MIME sequence number of a MIME message attachment.
-
- The MIME sequence.
-
-
-
- Contains formatting information about a MIME attachment.
-
- The MIME tag.
-
-
-
- Contains an attachment's fully-qualified path and filename.
-
- The name of the path.
-
-
-
- Contains a Microsoft Windows metafile with rendering information for an attachment.
-
- The rendering.
-
-
-
- Contains rendering position index.
-
- The rendering position.
-
-
-
- Contains attachment's size in bytes.
-
- The size.
-
-
-
- Contains an object identifier specifying the application that supplied an attachment.
-
- The tag.
-
-
-
- Contains the name of an attachment file modified so that it can be associated with TNEF messages.
-
- The name of the transport.
-
-
-
- Contains the display name of the attachment.
-
- The display name.
-
-
-
- Contains object if the attachment is an embedded Message.
-
- The embedded message.
-
-
-
- Contains the type of the attachment.
-
- The type of the object.
-
-
-
- Indicates whether an attachment is hidden from the end user.
-
- true if this instance is hidden; otherwise, false.
-
-
-
- Contains the creation date and time of the attachment.
-
- The creation time.
-
-
-
- Contains the date and time when the attachment was last modified.
-
- The last modification time.
-
-
-
- Indicates whether this attachment is a contact photo.
-
- true if this instance is contact photo; otherwise, false.
-
-
-
- Gets or sets the data object storage.
-
- The data object storage.
-
-
-
- Represents attachment's flags.
-
-
-
-
- Indicates that this attachment is not available to HTML rendering applications and should be ignored in MIME processing.
-
-
-
-
- Indicates that this attachment is not available to applications rendering in Rich Text Format (RTF) and should be ignored by MAPI.
-
-
-
-
- None
-
-
-
-
- Represents the way the contents of an attachment can be accessed.
-
-
-
-
- The attachment has just been created.
-
-
-
-
- The property contains the attachment data.
-
-
-
-
- The or the property contains a fully-qualified path identifying the attachment to recipients with access to a common file server.
-
-
-
-
- The or the property contains a fully-qualified path identifying the attachment.
-
-
-
-
- The or the property contains a fully-qualified path identifying the attachment.
-
-
-
-
- The property contains an embedded object.
-
-
-
-
- The attachment is an embedded OLE object
-
-
-
-
- None
-
-
-
-
- Specifies whether the attendee is busy at the time of an appointment on their calendar. The specified status appears in the free/busy view of the calendar.
-
-
-
-
- Free status
-
-
-
-
- Tentative status
-
-
-
-
- Busy status
-
-
-
-
- Out of the office status
-
-
-
-
- Enum CalendarType
-
-
-
-
- Describes which week in a month is used in a relative recurrence pattern.
-
-
-
-
- First.
-
-
-
-
- Second.
-
-
-
-
- Third.
-
-
-
-
- Fourth.
-
-
-
-
- Last.
-
-
-
-
- None.
-
-
-
-
- Contains a value used to associate an icon with a particular row of a table.
-
-
-
-
- An automated agent, such as Quote-Of-The-Day or a weather chart display.
-
-
-
-
- A distribution list.
-
-
-
-
- Display default folder icon adjacent to folder.
-
-
-
-
- Display default folder link icon adjacent to folder rather than the default folder icon.
-
-
-
-
- Display icon for a folder with an application-specific distinction, such as a special type of public folder.
-
-
-
-
- A forum, such as a bulletin board service or a public or shared folder.
-
-
-
-
- A global address book.
-
-
-
-
- A local address book that you share with a small workgroup.
-
-
-
-
- A typical messaging user.
-
-
-
-
- Modifiable; the container should be denoted as modifiable in the user interface.
-
-
-
-
- A special alias defined for a large group, such as helpdesk, accounting, or blood-drive coordinator.
-
-
-
-
- A private, personally administered distribution list.
-
-
-
-
- A recipient known to be from a foreign or remote messaging system.
-
-
-
-
- A wide area network address book.
-
-
-
-
- Does not match any of the other settings.
-
-
-
-
- None.
-
-
-
-
- Class ExtendedProperty.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class.
-
- The tag.
-
-
-
- Initializes a new instance of the class.
-
- The tag.
- The value.
-
- tag
- or
- value
-
-
-
-
- Initializes a new instance of the class.
-
- The tag.
- The value.
-
-
-
- Initializes a new instance of the class.
-
- The tag.
- The value.
-
-
-
- Initializes a new instance of the class.
-
- The tag.
- The value.
-
-
-
- Initializes a new instance of the class.
-
- The tag.
- The value.
-
-
-
- Initializes a new instance of the class.
-
- The tag.
- if set to true [value].
-
-
-
- Initializes a new instance of the class.
-
- The tag.
- The value.
-
-
-
- Initializes a new instance of the class.
-
- The tag.
- The value.
-
- tag
- or
- value
-
-
-
-
- Initializes a new instance of the class.
-
- The tag.
- The value.
-
-
-
- Gets the string value.
-
- System.String.
-
-
-
- Gets the string array value.
-
- System.String[][].
-
-
-
- Gets the boolean value.
-
- true if XXXX, false otherwise.
-
-
-
- Gets the short value.
-
- System.Int16.
-
-
-
- Gets the integer value.
-
- System.Int32.
-
-
-
- Gets the long value.
-
- System.Int64.
-
-
-
- Gets the float value.
-
- System.Single.
-
-
-
- Gets the double value.
-
- System.Double.
-
-
-
- Gets the date time value.
-
- DateTime.
-
-
-
- Gets or sets the tag.
-
- The tag.
-
-
-
- Gets or sets the value.
-
- The value.
-
-
-
- Class ExtendedPropertyId.
-
-
-
-
- Class ExtendedPropertyTag.
-
-
-
-
- Gets or sets the unique identifier.
-
- The unique identifier.
-
-
-
- Gets or sets the type.
-
- The type.
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class.
-
- The identifier.
- The unique identifier.
-
-
-
- Initializes a new instance of the class.
-
- The identifier.
- The unique identifier.
- The type.
-
-
-
- Returns a that represents this instance.
-
- A that represents this instance.
-
-
-
- Gets or sets the identifier.
-
- The identifier.
-
-
-
- Class ExtendedPropertyList.
-
-
-
-
- Gets the with the specified tag.
-
- The tag.
- ExtendedProperty.
-
-
-
- Class ExtendedPropertyName.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class.
-
- The name.
- The unique identifier.
-
-
-
- Initializes a new instance of the class.
-
- The name.
- The unique identifier.
- The type.
-
-
-
- Returns a that represents this instance.
-
- A that represents this instance.
-
-
-
- Gets or sets the name.
-
- The name.
-
-
-
- Represents flag color.
-
-
-
-
- Purple color. Value is 1.
-
-
-
-
- Orange color. Value is 2.
-
-
-
-
- Green color. Value is 3.
-
-
-
-
- Yellow color. Value is 4.
-
-
-
-
- Blue color. Value is 5.
-
-
-
-
- Red color. Value is 6.
-
-
-
-
- None. Value is 0.
-
-
-
-
- Contains the Microsoft Office Outlook follow-up flags for the message.
-
-
-
-
- Complete.
-
-
-
-
- Follow-up is required.
-
-
-
-
- No follow-up has been specified.
-
-
-
-
- Enum Gender
-
-
-
-
- Indicates the message sender's opinion of the importance of a message.
-
-
-
-
- The message has low importance.
-
-
-
-
- The message has normal importance.
-
-
-
-
- The message has high importance.
-
-
-
-
- None.
-
-
-
-
- Represents last action on the message.
-
-
-
-
- Reply has been sent to sender. Value is 102.
-
-
-
-
- Reply has been sent to all. Value is 103.
-
-
-
-
- The message has been forwarded. Value is 104.
-
-
-
-
- None.
-
-
-
-
- The MeetingStatus enum specifies the status of an appointment or meeting.
-
-
-
-
- An Appointment item without attendees has been scheduled. This status can be used to set up holidays on a calendar.
-
-
-
-
- The meeting has been scheduled.
-
-
-
-
- The meeting request has been received.
-
-
-
-
- The scheduled meeting has been cancelled but still appears on the user's calendar.
-
-
-
-
- The scheduled meeting has been cancelled.
-
-
-
-
- None.
-
-
-
-
- Represents Outlook message file.
-
-
-
-
- Initializes a new instance of the Message class.
-
-
-
-
- Initializes a new instance of the Message class based on the supplied file.
-
- File path.
-
-
-
- Initializes a new instance of the Message class based on the supplied stream.
-
- A stream.
-
-
-
- Initializes a new instance of the Message class from the specified MIME message.
-
- The MIME message.
-
-
-
- Loads message from the specified file.
-
- File path.
-
-
-
- Loads message from the specified stream.
-
- An input stream.
-
-
-
- Gets stream to read from this message.
-
- A stream.
-
-
-
- Gets bytes to read from this message.
-
- Attachment as a byte array.
-
-
-
- Saves this message to the specified file.
-
- File path.
-
-
-
- Saves this message to the specified file.
-
- File path.
- True to overwrite existing file, otherwise false.
-
-
-
- Saves this message to the specified stream.
-
- A stream.
- stream
-
-
-
- Converts to MIME message.
-
- Independentsoft.Email.Mime.Message.
-
-
-
- Gets or sets message encoding. Default is UTF8 encoding.
-
- The encoding.
-
- In order to save message as Unicode use:
-
- message.Encoding = System.Text.Encoding.Unicode;
-
-
-
-
-
- Contains a text string that identifies the sender-defined message class, such as IPM.Note.
-
- The message class.
-
-
-
- Contains the full subject of a message.
-
- The subject.
-
-
-
- Contains a subject prefix that typically indicates some action on a message, such as "FW: " for forwarding.
-
- The subject prefix.
-
-
-
- Contains the topic of the first message in a conversation thread.
-
- The conversation topic.
- A conversation thread represents a series of messages and replies. These properties are set for the first message in a thread, usually to the property. Subsequent messages in the thread should use the same topic without modification.
-
-
-
- Contains an ASCII list of the display names of any blind carbon copy (BCC) message recipients, separated by semicolons (;).
-
- The display BCC.
-
-
-
- Contains an ASCII list of the display names of any carbon copy (CC) message recipients, separated by semicolons (;).
-
- The display cc.
-
-
-
- Contains a list of the display names of the primary (To) message recipients, separated by semicolons (;).
-
- The display to.
-
-
-
- Contains a list of the display names of the primary (To) message recipients, separated by semicolons (;).
-
- The original display to.
-
-
-
- Contains reply to email address.
-
- The reply to.
-
-
-
- Contains the message subject with any prefix removed.
-
- The normalized subject.
-
-
-
- Contains the message text.
-
- The body.
-
-
-
- Contains the Rich Text Format (RTF) version of the message text.
-
- The body RTF.
-
-
-
- Contains the Rich Text Format (RTF) version of the message text, usually in compressed form.
-
- The RTF compressed.
-
-
-
- Contains a binary-comparable key that identifies correlated objects for a search.
-
- The search key.
-
-
-
- Contains a change key of a message.
-
- The change key.
-
-
-
- Contains a MAPI entry identifier used to open and edit properties of a particular MAPI object.
-
- The entry identifier.
-
-
-
- Gets or sets the read receipt entry identifier.
-
- The read receipt entry identifier.
-
-
-
- Gets or sets the read receipt search key.
-
- The read receipt search key.
-
-
-
- Contains the creation date and time of the message.
-
- The creation time.
- A message store sets this property for each message that it creates.
-
-
-
- Contains the date and time when the message was last modified.
-
- The last modification time.
- This property is initially set to the same value as the property.
-
-
-
- Contains the date and time when a message was delivered.
-
- The message delivery time.
- This property describes the time the message was stored at the server, rather than the download time when the transport provider copied the message from the server to the local store.
-
-
-
- Contains the date and time the message sender submitted a message.
-
- The client submit time.
-
-
-
- Contains the date and time the mail provider submitted a message.
-
- The provider submit time.
-
-
-
- Contains the report date and time.
-
- The report time.
-
-
-
- Contains the time when the last verb was executed.
-
- The last verb execution time.
-
-
-
- Contains report text.
-
- The report text.
-
-
-
- Contains name of the person who created message.
-
- The name of the creator.
-
-
-
- Contains name of the person who modified message.
-
- The last name of the modifier.
-
-
-
- Contains unique ID for the message.
-
- The internet message identifier.
-
-
-
- Contains the identifier of the message to which this message is a reply.
-
- The in reply to.
-
-
-
- Contains Internet reference ID for the message.
-
- The internet references.
-
-
-
- Contains the code page that is used for the message.
-
- The message code page.
-
-
-
- Contains a number that indicates which icon to use when you display a group of e-mail objects.
-
- The index of the icon.
-
-
-
- Contains the size of the body, subject, sender, and attachments.
-
- The size.
-
-
-
- Indicates the code page used for the or the properties.
-
- The internet code page.
-
-
-
- Contains a binary value that indicates the relative position of this message within a conversation thread.
-
- The index of the conversation.
-
-
-
- Contains true if message is invisible.
-
- true if this instance is hidden; otherwise, false.
-
-
-
- Contains true if message is read only.
-
- true if this instance is read only; otherwise, false.
-
-
-
- Contains true if message is system message.
-
- true if this instance is system; otherwise, false.
-
-
-
- Gets or sets a value indicating whether [disable full fidelity].
-
- true if [disable full fidelity]; otherwise, false.
-
-
-
- Contains true if a message contains at least one attachment.
-
- true if this instance has attachment; otherwise, false.
-
-
-
- Contains true if the property has the same text content as the property for this message.
-
- true if [RTF in synchronize]; otherwise, false.
-
-
-
- Gets or sets a value indicating whether [read receipt requested].
-
- true if [read receipt requested]; otherwise, false.
-
-
-
- Gets or sets a value indicating whether [delivery report requested].
-
- true if [delivery report requested]; otherwise, false.
-
-
-
- Contains the Hypertext Markup Language (HTML) version of the message text.
-
- The body HTML.
-
-
-
- Contains the Hypertext Markup Language (HTML) version of the message text.
-
- The body HTML text.
-
-
-
- Contains a value that indicates the message sender's opinion of the sensitivity of a message.
-
- The sensitivity.
-
-
-
- Contains the last verb executed.
-
- The last verb executed.
-
-
-
- Contains a value that indicates the message sender's opinion of the importance of a message.
-
- The importance.
-
-
-
- Contains the relative priority of a message.
-
- The priority.
- This property and the property should not be confused. Importance indicates a value to users, while priority indicates the order or speed at which the message should be sent by the messaging system software. Higher priority usually indicates a higher cost. Higher importance usually is associated with a different display by the user interface.
-
-
-
- Specifies the flag icon of the message object.
-
- The flag icon.
-
-
-
- Specifies the flag state of the message object.
-
- The flag status.
-
-
-
- Contains the type of an object.
-
- The type of the object.
-
-
-
- Contains the address type for the messaging user who is represented by the user actually receiving the message.
-
- The type of the received representing address.
-
-
-
- Contains the e-mail address for the messaging user who is represented by the receiving user.
-
- The received representing email address.
-
-
-
- Contains the entry identifier for the messaging user who is represented by the receiving user.
-
- The received representing entry identifier.
-
-
-
- Contains the display name for the messaging user who is represented by the receiving user.
-
- The name of the received representing.
-
-
-
- Contains the search key for the messaging user represented by the receiving user.
-
- The received representing search key.
-
-
-
- Contains the e-mail address type, such as SMTP, for the messaging user who actually receives the message.
-
- The type of the received by address.
-
-
-
- Contains the e-mail address for the messaging user who receives the message.
-
- The received by email address.
-
-
-
- Contains the entry identifier of the messaging user who actually receives the message.
-
- The received by entry identifier.
-
-
-
- Contains the display name of the messaging user who receives the message.
-
- The name of the received by.
-
-
-
- Contains the search key of the messaging user who receives the message.
-
- The received by search key.
-
-
-
- Contains the message sender's e-mail address type.
-
- The type of the sender address.
-
-
-
- Contains the message sender's e-mail address.
-
- The sender email address.
-
-
-
- Contains the message sender's entry identifier.
-
- The sender entry identifier.
-
-
-
- Contains the message sender's display name.
-
- The name of the sender.
-
-
-
- Contains the message sender's search key.
-
- The sender search key.
-
-
-
- Contains the address type for the messaging user who is represented by the sender.
-
- The type of the sent representing address.
-
-
-
- Contains the e-mail address for the messaging user who is represented by the sender.
-
- The sent representing email address.
-
-
-
- Contains the entry identifier for the messaging user represented by the sender.
-
- The sent representing entry identifier.
-
-
-
- Contains the display name for the messaging user represented by the sender.
-
- The name of the sent representing.
-
-
-
- Contains the search key for the messaging user represented by the sender.
-
- The sent representing search key.
-
-
-
- Contains transport-specific message envelope information.
-
- The transport message headers.
-
-
-
- Contains a bitmask of flags that indicate the origin and current state of a message.
-
- The message flags.
- This property is a nontransmittable message property exposed at both the sending and receiving ends of a transmission, with different values depending upon the client application or store provider involved. This property is initialized by the client or message store provider when a message is created and saved for the first time and then updated periodically by the message store provider, a transport provider, and the MAPI spooler as the message is processed and its state changes. This property exists on a message both before and after submission, and on all copies of the received message. Although it is not a recipient property, it is exposed differently to each recipient according to whether it has been read or modified by that recipient.
-
-
-
- Contains values that client applications should query to determine the characteristics of a message store.
-
- The store support masks.
-
-
-
- Contains version number of Microsoft Office Outlook client.
-
- The outlook version.
-
-
-
- Contains internal version number of Microsoft Office Outlook client.
-
- The outlook internal version.
-
-
-
- Contains the start date and time of a message.
-
- The common start time.
-
-
-
- Contains the end date and time of a message.
-
- The common end time.
-
-
-
- Contains the date and time specifying the date by which an e-mail message is due.
-
- The flag due by.
-
-
-
- Contains the names of the companies associated with the contact item.
-
- The companies.
-
-
-
- Contains the names of the contacts associated with the item.
-
- The contact names.
-
-
-
- Contains the categories associated with a message.
-
- The keywords.
-
-
-
- Contains the categories associated with a message.
-
- The categories.
-
-
-
- Contains the billing information associated with a message.
-
- The billing information.
-
-
-
- Contains free-form string value and can be used to store mileage information associated with the message.
-
- The mileage.
-
-
-
- Contains account name or email address.
-
- The name of the internet account.
-
-
-
- Contains the path and file name of the sound file to play when the reminder occurs for the appointment, mail message, or task.
-
- The reminder sound file.
-
-
-
- Contains true if message is marked as private.
-
- true if this instance is private; otherwise, false.
-
-
-
- Contains true if the reminder overrides the default reminder behavior for the appointment, mail item, or task.
-
- true if [reminder override default]; otherwise, false.
-
-
-
- Contains true if the reminder should play a sound when it occurs for this appointment or task.
-
- true if [reminder play sound]; otherwise, false.
-
-
-
- Contains appointment's the start date and time.
-
- The appointment start time.
-
-
-
- Contains appointment's the end date and time.
-
- The appointment end time.
-
-
-
- Contains appointment's location.
-
- The location.
-
-
-
- Contains appointment's message class.
-
- The appointment message class.
-
-
-
- Contains appointment's time zone.
-
- The time zone.
-
-
-
- Contains recurring pattern description.
-
- The recurrence pattern description.
-
-
-
- Contains appoinmtment or task recurring pattern.
-
- The recurrence pattern.
-
-
-
- Contains message's global unique id.
-
- The unique identifier.
-
-
-
- Contains appointment's label color.
-
- The label.
-
-
-
- Contains appointment's duration in minutes.
-
- The duration.
-
-
-
- Contains appointment's busy status.
-
- The busy status.
-
-
-
- Contains the status of the meeting.
-
- The meeting status.
-
-
-
- Contains the response to a meeting request.
-
- The response status.
-
-
-
- Contains the recurrence pattern type.
-
- The type of the recurrence.
-
-
-
- Contains task's owner name.
-
- The owner.
-
-
-
- Contains task's delegator name.
-
- The delegator.
-
-
-
- Contains the percentage of the task completed at the current date and time.
-
- The percent complete.
-
-
-
- Contains the actual effort (in minutes) spent on the task.
-
- The actual work.
-
-
-
- Contains the total work for the task.
-
- The total work.
-
-
-
- Contains true if the task is a team task.
-
- true if this instance is team task; otherwise, false.
-
-
-
- Contains true if the task is complete.
-
- true if this instance is complete; otherwise, false.
-
-
-
- Contains true if the task or appointment is recurring.
-
- true if this instance is recurring; otherwise, false.
-
-
-
- Contains true if the appointment is all day event.
-
- true if this instance is all day event; otherwise, false.
-
-
-
- Contains true if a reminder has been set for this appointment, e-mail item, or task.
-
- true if this instance is reminder set; otherwise, false.
-
-
-
- Contains the date and time at which the reminder should occur for the specified item.
-
- The reminder time.
-
-
-
- Contains the number of minutes the reminder should occur prior to the start of the appointment.
-
- The reminder minutes before start.
-
-
-
- Contains task's the start date and time.
-
- The task start date.
-
-
-
- Contains task's the due date and time.
-
- The task due date.
-
-
-
- Contains the completion date of the task.
-
- The date completed.
-
-
-
- Contains the status of the task.
-
- The task status.
-
-
-
- Contains the ownership state of the task.
-
- The task ownership.
-
-
-
- Contains the delegation state of a task.
-
- The state of the task delegation.
-
-
-
- Contains height of the note item.
-
- The height of the note.
-
-
-
- Contains width of the note item.
-
- The width of the note.
-
-
-
- Contains top position of the note item.
-
- The note top.
-
-
-
- Contains left position of the note item.
-
- The note left.
-
-
-
- Contains background color of the note item.
-
- The color of the note.
-
-
-
- Contains journal's the start date and time.
-
- The journal start time.
-
-
-
- Contains journal's the end date and time.
-
- The journal end time.
-
-
-
- Contains the type of the journal item.
-
- The type of the journal.
-
-
-
- Contains the type description of the journal item.
-
- The journal type description.
-
-
-
- Contains journal's the duration in minutes.
-
- The duration of the journal.
-
-
-
- Contains the birthday date for the contact.
-
- The birthday.
-
-
-
- Contains the names of the children of the contact.
-
- The children names.
-
-
-
- Contains the name of assistent of the contact.
-
- The name of the assistent.
-
-
-
- Contains assistent's phone number of the contact.
-
- The assistent phone.
-
-
-
- Contains the first business telephone number for the contact.
-
- The business phone.
-
-
-
- Contains the business fax number for the contact.
-
- The business fax.
-
-
-
- Contains the url of the business Web page for the contact.
-
- The business home page.
-
-
-
- Contains the callback telephone number for the contact.
-
- The callback phone.
-
-
-
- Contains the car telephone number for the contact.
-
- The car phone.
-
-
-
- Contains the mobile telephone number for the contact.
-
- The cellular phone.
-
-
-
- Contains the company main telephone number for the contact.
-
- The company main phone.
-
-
-
- Contains the company name for the contact.
-
- The name of the company.
-
-
-
- Contains the name of the computer network for the contact.
-
- The name of the computer network.
-
-
-
- Contains the country/region code portion of the business address for the contact.
-
- The business address country.
-
-
-
- Contains the customer ID for the contact.
-
- The customer identifier.
-
-
-
- Contains the department name for the contact.
-
- The name of the department.
-
-
-
- Contains display name.
-
- The display name.
-
-
-
- Contains display name prefix.
-
- The display name prefix.
-
-
-
- Contains the FTP site entry for the contact.
-
- The FTP site.
-
-
-
- Contains the generation for the contact.
-
- The generation.
-
-
-
- Contains the given name for the contact.
-
- The name of the given.
-
-
-
- Contains the government ID number for the contact.
-
- The government identifier.
-
-
-
- Contains the hobby names for the contact.
-
- The hobbies.
-
-
-
- Contains the second home telephone number for the contact.
-
- The home phone2.
-
-
-
- Contains the city portion of the home address for the contact.
-
- The home address city.
-
-
-
- Contains the country/region portion of the home address for the contact.
-
- The home address country.
-
-
-
- Contains the postal code portion of the home address for the contact.
-
- The home address postal code.
-
-
-
- Contains the post office box number portion of the home address for the contact.
-
- The home address post office box.
-
-
-
- Contains the state portion of the home address for the contact.
-
- The state of the home address.
-
-
-
- Contains the street portion of the home address for the contact.
-
- The home address street.
-
-
-
- Contains the home fax number for the contact.
-
- The home fax.
-
-
-
- Contains the first home telephone number for the contact.
-
- The home phone.
-
-
-
- Contains the initials for the contact.
-
- The initials.
-
-
-
- Contains the ISDN number for the contact.
-
- The isdn.
-
-
-
- Contains the city name portion of the business address for the contact.
-
- The business address city.
-
-
-
- Contains the manager name for the contact.
-
- The name of the manager.
-
-
-
- Contains the middle name for the contact.
-
- The name of the middle.
-
-
-
- Contains the nickname for the contact.
-
- The nickname.
-
-
-
- Contains the specific office location for the contact.
-
- The office location.
-
-
-
- Contains the second business telephone number for the contact.
-
- The business phone2.
-
-
-
- Contains the city portion of the other address for the contact.
-
- The other address city.
-
-
-
- Contains the country/region portion of the other address for the contact.
-
- The other address country.
-
-
-
- Contains the postal code portion of the other address for the contact.
-
- The other address postal code.
-
-
-
- Contains the state portion of the other address for the contact.
-
- The state of the other address.
-
-
-
- Contains the street portion of the other address for the contact.
-
- The other address street.
-
-
-
- Contains the other telephone number for the contact.
-
- The other phone.
-
-
-
- Contains the pager number for the contact.
-
- The pager.
-
-
-
- Contains the url of the personal Web page for the contact.
-
- The personal home page.
-
-
-
- Contains the postal address for the contact.
-
- The postal address.
-
-
-
- Contains the postal code (zip code) portion of the business address for the contact.
-
- The business address postal code.
-
-
-
- Contains the post office box number portion of the business address for the contact.
-
- The business address post office box.
-
-
-
- Contains the state code portion of the business address for the contact.
-
- The state of the business address.
-
-
-
- Contains the street address portion of the business address for the contact.
-
- The business address street.
-
-
-
- Contains the primary fax number for the contact.
-
- The primary fax.
-
-
-
- Contains the primary telephone number for the contact.
-
- The primary phone.
-
-
-
- Contains the profession for the contact.
-
- The profession.
-
-
-
- Contains the radio telephone number for the contact.
-
- The radio phone.
-
-
-
- Contains the spouse name for the contact.
-
- The name of the spouse.
-
-
-
- Contains the last name for the contact.
-
- The surname.
-
-
-
- Contains the telex number for the contact.
-
- The telex.
-
-
-
- Contains the title for the contact.
-
- The title.
-
-
-
- Contains the TTY/TDD telephone number for the contact.
-
- The tty TDD phone.
-
-
-
- Contains the wedding anniversary date for the contact.
-
- The wedding anniversary.
-
-
-
- Contains the gender of the contact.
-
- The gender.
-
-
-
- Contains the type of the mailing address for the contact.
-
- The selected mailing address.
-
-
-
- Contains true if the contact has picture.
-
- true if [contact has picture]; otherwise, false.
-
-
-
- Contains the default keyword string assigned to the contact when it is filed.
-
- The file as.
-
-
-
- Contains the instant messenger address for the contact.
-
- The instant messenger address.
-
-
-
- Contains the url location of the user's free-busy information in vCard Free-Busy standard format.
-
- The internet free busy address.
-
-
-
- Contains the whole, unparsed business address for the contact.
-
- The business address.
-
-
-
- Contains the whole, unparsed home address for the contact.
-
- The home address.
-
-
-
- Contains the whole, unparsed other address for the contact.
-
- The other address.
-
-
-
- Contains the e-mail address of the first e-mail entry for the contact.
-
- The email1 address.
-
-
-
- Contains the e-mail address of the second e-mail entry for the contact.
-
- The email2 address.
-
-
-
- Contains the e-mail address of the third e-mail entry for the contact.
-
- The email3 address.
-
-
-
- Contains the display name of the first e-mail address for the contact.
-
- The display name of the email1.
-
-
-
- Contains the display name of the second e-mail address for the contact.
-
- The display name of the email2.
-
-
-
- Contains the display name of the third e-mail address for the contact.
-
- The display name of the email3.
-
-
-
- Contains the display as name of the first e-mail address for the contact.
-
- The email1 display as.
-
-
-
- Contains the display as name of the second e-mail address for the contact.
-
- The email2 display as.
-
-
-
- Contains the display as name of the third e-mail address for the contact.
-
- The email3 display as.
-
-
-
- Contains the type of the first e-mail address for the contact.
-
- The type of the email1.
-
-
-
- Contains the type of the second e-mail address for the contact.
-
- The type of the email2.
-
-
-
- Contains the type of the third e-mail address for the contact.
-
- The type of the email3.
-
-
-
- Contains the entry ID of the first e-mail address for the contact.
-
- The email1 entry identifier.
-
-
-
- Contains the entry ID of the second e-mail address for the contact.
-
- The email2 entry identifier.
-
-
-
- Contains the entry ID of the third e-mail address for the contact.
-
- The email3 entry identifier.
-
-
-
- Contains collection of recipients.
-
- The recipients.
-
-
-
- Contains collection of attachments.
-
- The attachments.
-
-
-
- Contains collection of extended (custom) properties.
-
- The extended properties.
-
-
-
- Contains collection of named properties definition.
-
-
-
-
- Contains true if Message is embedded into another message object.
-
- true if this instance is embedded; otherwise, false.
-
-
-
- Contains a value that indicates the origin and current state of a message.
-
-
-
-
- The message is an associated message of a folder. The client or provider has read-only access to this flag. The Read flag is ignored for associated messages, which do not retain a read/unread state.
-
-
-
-
- The messaging user sending was the messaging user receiving the message. This flag is meant to be set by the transport provider.
-
-
-
-
- The message has at least one attachment. The client has read-only access to this flag.
-
-
-
-
- A nonread report needs to be sent for the message. The client or provider has read-only access to this flag.
-
-
-
-
- The incoming message arrived over the Internet. It originated either outside the organization or from a source the gateway cannot consider trusted. The client should display an appropriate message to the user. Transport providers set this flag; the client has read-only access.
-
-
-
-
- The incoming message arrived over an external link other than X.400 or the Internet. It originated either outside the organization or from a source the gateway cannot consider trusted. The client should display an appropriate message to the user. Transport providers set this flag; the client has read-only access.
-
-
-
-
- The incoming message arrived over an X.400 link. It originated either outside the organization or from a source the gateway cannot consider trusted. The client should display an appropriate message to the user. Transport providers set this flag; the client has read-only access.
-
-
-
-
- The message is marked as having been read. This flag is ignored if the Associated flag is set.
-
-
-
-
- The message includes a request for a resend operation with a non-delivery report.
-
-
-
-
- A read report needs to be sent for the message. The client or provider has read-only access to this flag.
-
-
-
-
- The message is marked for sending. Message store providers set this flag; the client has read-only access.
-
-
-
-
- The outgoing message has not been modified since the first time that it was saved; the incoming message has not been modified since it was delivered.
-
-
-
-
- The message is still being composed. It is saved, but has not been sent. Typically, this flag is cleared after the message is sent.
-
-
-
-
- Represents Note item background color.
-
-
-
-
- Blue color.
-
-
-
-
- Green color.
-
-
-
-
- Pink color.
-
-
-
-
- Yellow color.
-
-
-
-
- White color.
-
-
-
-
- None.
-
-
-
-
- Represents type of an object.
-
-
-
-
- Address book container object.
-
-
-
-
- Address book object.
-
-
-
-
- Message attachment object.
-
-
-
-
- Distribution list object.
-
-
-
-
- Folder object.
-
-
-
-
- Form object.
-
-
-
-
- Messaging user object.
-
-
-
-
- Message object.
-
-
-
-
- Profile section object.
-
-
-
-
- Session object.
-
-
-
-
- Status object.
-
-
-
-
- Message store object.
-
-
-
-
- None
-
-
-
-
- Represents the relative priority of a message.
-
-
-
-
- The message is not urgent.
-
-
-
-
- The message has normal priority.
-
-
-
-
- The message is urgent.
-
-
-
-
- None.
-
-
-
-
- Enum PropertyType
-
-
-
-
- Represents a user or resource, generally a mail message addressee.
-
-
-
-
- Initializes a new instance of the Recipient class.
-
-
-
-
- Contains the display name of the recipient.
-
-
-
-
- Contains the recipient's e-mail address.
-
-
-
-
- Contains the recipient's e-mail address type, such as Simple Mail Transfer Protocol (SMTP).
-
-
-
-
- Contains the type of the recipient.
-
-
-
-
- Contains the recipient type for a message recipient.
-
-
-
-
- Contains a value used to associate an icon with a particular row of a table.
-
-
-
-
- Contains the EntryID of the recipient.
-
-
-
-
- Contains a value that uniquely identifies a row in a table.
-
-
-
-
- Contains a binary-comparable key that identifies correlated objects for a search.
-
-
-
-
- Contains true if some transport provider has already accepted responsibility for delivering the message to this recipient, and false if the MAPI spooler considers that this transport provider should accept responsibility.
-
-
-
-
- Contains SMTP email address.
-
-
-
-
- Contains a 7-bit ASCII representation of the recipient's display name.
-
-
-
-
- Contains a recipient's display name in a secure form that cannot be changed.
-
-
-
-
- Contains true if the recipient can receive all message content, including Rich Text Format (RTF) and Object Linking and Embedding (OLE) objects.
-
-
-
-
- Contains a bitmask of encoding preferences.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Represents the recipient type for a message recipient.
-
-
-
-
- The recipient is a primary (To) recipient.
-
-
-
-
- The recipient is a carbon copy (Cc) recipient.
-
-
-
-
- The recipient is a blind carbon copy (Bcc) recipient.
-
-
-
-
- The recipient did not successfully receive the message on the previous attempt.
-
-
-
-
- None.
-
-
-
-
- Class RecurrencePattern.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class.
-
- The buffer.
-
-
-
- Gets the frequency.
-
- The frequency.
-
-
-
- Gets the type.
-
- The type.
-
-
-
- Gets the type of the calendar.
-
- The type of the calendar.
-
-
-
- Gets the period.
-
- The period.
-
-
-
- Gets the day of week.
-
- The day of week.
-
-
-
- Gets the index of the day of week.
-
- The index of the day of week.
-
-
-
- Gets the day of month.
-
- The day of month.
-
-
-
- Gets the end type.
-
- The end type.
-
-
-
- Gets the occurence count.
-
- The occurence count.
-
-
-
- Gets the first day of week.
-
- The first day of week.
-
-
-
- Gets the deleted instance count.
-
- The deleted instance count.
-
-
-
- Gets the deleted instance dates.
-
- The deleted instance dates.
-
-
-
- Gets the modified instance count.
-
- The modified instance count.
-
-
-
- Gets the modified instance dates.
-
- The modified instance dates.
-
-
-
- Gets the start date.
-
- The start date.
-
-
-
- Gets the end date.
-
- The end date.
-
-
-
- Enum RecurrencePatternType
-
-
-
-
- Specifies the recurrence pattern type.
-
-
-
-
- Represents a daily recurrence pattern.
-
-
-
-
- Represents a weekly recurrence pattern.
-
-
-
-
- Represents a monthly recurrence pattern.
-
-
-
-
- Represents a MonthNth recurrence pattern.
-
-
-
-
- Represents a yearly recurrence pattern.
-
-
-
-
- Represents a YearNth recurrence pattern.
-
-
-
-
- None.
-
-
-
-
- Indicates the response to a meeting request.
-
-
-
-
- The appointment is on the Organizer's calendar or the recipient is the Organizer of the meeting.
-
-
-
-
- Meeting tentatively accepted.
-
-
-
-
- Meeting accepted.
-
-
-
-
- Meeting declined.
-
-
-
-
- Recipient has not responded.
-
-
-
-
- The appointment is a simple appointment and does not require a response.
-
-
-
-
- Indicating the type of the mailing address for the contact.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- None.
-
-
-
-
- Identifies the sensitivity level assigned to a message item. These levels are arbitrarily set and filtered for, by the user.
-
-
-
-
- The message has the Personal sensitivity setting.
-
-
-
-
- The message has the Private sensitivity setting.
-
-
-
-
- The message has the Confidential sensitivity setting
-
-
-
-
- The message has the Normal sensitivity setting.
-
-
-
-
- Class StandardPropertySet.
-
-
-
-
- Contains a value that client applications should query to determine the characteristics of a message store.
-
-
-
-
- The message store supports properties containing ANSI (8-bit) characters.
-
-
-
-
- The message store supports attachments (OLE or non-OLE) to messages.
-
-
-
-
- The message store supports categorized views of tables.
-
-
-
-
- The message store supports creation of new messages.
-
-
-
-
- Entry identifiers for the objects in the message store are unique, that is, never reused during the life of the store.
-
-
-
-
- The message store supports HTML messages, stored in the property.
-
-
-
-
- In a wrapped PST store, indicates that when a new message arrives at the store, the store does rules and spam filter processing on the message separately.
-
-
-
-
- This flag is reserved and should not be used.
-
-
-
-
- The message store supports modification of its existing messages.
-
-
-
-
- The message store supports multivalued properties, guarantees the stability of value order in a multivalued property throughout a save operation, and supports instantiation of multivalued properties in tables.
-
-
-
-
- The message store supports notifications.
-
-
-
-
- The message store supports OLE attachments.
-
-
-
-
- The folders in this store are public (multi-user), not private (possibly multi-instance but not multi-user).
-
-
-
-
- The MAPI Protocol Handler will not crawl the store, and the store is responsible to push any changes through notifications to the indexer to have messages indexed.
-
-
-
-
- All interfaces for the message store have a read-only access level.
-
-
-
-
- The message store supports restrictions.
-
-
-
-
- The message store supports Rich Text Format (RTF) messages, usually compressed.
-
-
-
-
- The message store supports search-results folders.
-
-
-
-
- The message store supports sorting views of tables.
-
-
-
-
- The message store supports marking a message for submission.
-
-
-
-
- The message store supports storage of RTF messages in uncompressed form.
-
-
-
-
- The message store supports properties containing Unicode characters.
-
-
-
-
- Represents the status types of a delegated task.
-
-
-
-
- Specifies that this is not a delegated task or that the task request has been created but not sent. This is also used for a task request message, whether in the owner’s Sent Items folder or the delegate’s Inbox.
-
-
-
-
- Specifies that this is a new task request that has been sent, but the delegate has not yet responded to the task.
-
-
-
-
- Specifies that a task has been accepted. This value should not be in the enumeration.
-
-
-
-
- Specifies that the task has been accepted.
-
-
-
-
- Specifies that the task has been declined.
-
-
-
-
- None.
-
-
-
-
- Indicates the ownership state of the task.
-
-
-
-
- Specifies that task has not yet been assigned to a user.
-
-
-
-
- Specifies that task has been delegated to another user.
-
-
-
-
- Specifies that task is assigned to the current user.
-
-
-
-
- None.
-
-
-
-
- Identifies the status types of a task item.
-
-
-
-
- Specifies that the task is not started.
-
-
-
-
- Specifies that the task is in progress.
-
-
-
-
- Specifies that the task is completed.
-
-
-
-
- Specifies that the task is waiting on others.
-
-
-
-
- Specifies that the task is deferred.
-
-
-
-
- None.
-
-
-
-
diff --git a/App/DigitalData.EMLProfiler/clsEmail.IMAP.vb b/App/DigitalData.EMLProfiler/clsEmail.IMAP.vb
index 3214e1f..07ea200 100644
--- a/App/DigitalData.EMLProfiler/clsEmail.IMAP.vb
+++ b/App/DigitalData.EMLProfiler/clsEmail.IMAP.vb
@@ -8,155 +8,46 @@ Imports System.Net
Imports System.Reflection
Imports System.IO
Imports DigitalData.Modules.Database
+Imports DigitalData.Modules.Messaging
Public Class clsEmailIMAP
Private Shared Logger As DigitalData.Modules.Logging.Logger
Private Shared LogConfig As DigitalData.Modules.Logging.LogConfig
Private _DB_MSSQL As clsDatabase
+ Private _limilab As DigitalData.Modules.Messaging.Limilab
Sub New(LogConf As LogConfig, ECMConnectionString As String)
LogConfig = LogConf
Logger = LogConf.GetLogger
_DB_MSSQL = New clsDatabase(LogConf, ECMConnectionString)
+ _limilab = New Limilab(LogConf)
End Sub
- 'Private Shared Sub OnWriteLog(ByVal sender As Object, ByVal e As WriteLogEventArgs)
- ' Logger.Info(e.Log)
- 'End Sub
-
- Public Function FetchIMAPMessagesS22(Server As String, Port As Integer, Username As String, Password As String, pInbox As String, Optional IsTest As Boolean = False, Optional DeleteinTest As Boolean = False, Optional MoveMailTo As String = "") As Boolean
- Logger.Debug("FetchIMAPMessagesS22 - Connecting to Server {0}:{1} with user {2}", Server, Port, Username)
+ Public Function FetchIMAPMessagesLimilab(Server As String, Port As Integer, Username As String, Password As String, AuthType As String) As Boolean
Try
- Logger.Debug("FetchIMAPMessagesS22 - Connecting...")
- Using oClient As New S22.Imap.ImapClient(Server, Port, Username, Password, S22.Imap.AuthMethod.Login, True)
- If Not oClient.Authed Then
- Logger.Warn("FetchIMAPMessagesS22 - Connected to server but authentication failed.")
- Return False
+ Logger.Debug("FetchIMAPMessagesLimilab - Fetching messages...")
+ _limilab.InitIMAP(True, Server, Port, Username, Password, AuthType)
+ Dim oListuids As New List(Of Long)
+ oListuids = _limilab.IMAPGetMessageIDs_AllMails()
+ If IsNothing(oListuids) Then
+ Return False
+ Else
+ If oListuids.Count > 0 Then
+ CURRENT_WORKMAIL_UID_LIST = oListuids
+ Logger.Info("FetchIMAPMessagesLimilab - Found [{0}] messages", oListuids.Count)
+ CURRENT_ImapObject = _limilab.CurrentImapObject
+ Else
+ Logger.Debug("FetchIMAPMessagesLimilab - No Emails found!")
End If
-
- Logger.Debug($"FetchIMAPMessagesS22 - Fetching unseen MessageIds from Inbox: {pInbox}")
- Dim oMessageIds As IEnumerable(Of UInteger) = oClient.Search(S22.Imap.SearchCondition.Unseen, pInbox)
- If oMessageIds.Count > 0 Then
- Logger.Info("FetchIMAPMessagesS22 - Found [{0}] messages", oMessageIds.Count)
- Logger.Debug("FetchIMAPMessagesS22 - Fetching messages...")
- End If
-
- Dim oMessageCountRegular As Integer = 0
- Dim oMessageCountWorked As Integer = 0
- Dim oLastLog As String
- For Each oMessageId As UInteger In oMessageIds
- Logger.Debug($"Checking message...")
- Dim oMessage = oClient.GetMessage(oMessageId, False, pInbox)
- oLastLog = $"Checking message with Subject [{oMessage.Subject}] From [{oMessage.From}]"
- Logger.Debug(oLastLog)
- Dim oTempPath = Path.GetTempFileName()
- Try
- Dim oResult = WriteMessageToFile(oMessage, oTempPath)
- oLastLog &= $" # Message written to TempPath [{oTempPath}]"
- Dim oMessageREFGUID
- Dim oMsg As Message
- Try
- oLastLog &= " # Creating the New Message(oTempPath)"
- oMsg = New Message(oTempPath)
- oLastLog &= " # Extracting the MessageID"
- oMessageREFGUID = oMsg.MessageID
- Catch ex As Exception
- Logger.Warn($"FetchIMAPMessagesS22 - Could not get a MessageID or create a MailObject - Error: {ex.Message} - Last Debug Log: [{oLastLog}]")
- Continue For
- End Try
-
- oLastLog &= " # Got the MessageID"
- oMessageREFGUID = oMessageREFGUID.Replace(">", "").Replace("<", "")
- Dim oCHECKSQL = $"SELECT * FROM TBEMLP_HISTORY WHERE EMAIL_MSGID = '{oMessageREFGUID}'"
- Dim oCHECKDT As DataTable = _DB_MSSQL.Return_Datatable(oCHECKSQL)
- If Not IsNothing(oCHECKDT) Then
- If oCHECKDT.Rows.Count = 0 Then
- oMessageCountRegular += 1
- CURRENT_WORKMAIL_LIST.Add(oMsg)
- oLastLog &= " # Added to CURRENT_WORKMAIL_LIST"
- Else
- Logger.Info("FetchIMAPMessagesS22 - Message has already been worked! Skipping!")
- Logger.Debug($"Message shall be deleted...")
- oLastLog &= " # Message shall be deleted..."
- oClient.DeleteMessage(oMessageId)
- Logger.Debug($"FetchIMAPMessagesS22 - Message has been deleted!")
- oLastLog &= " # FetchIMAPMessagesS22 - Message has been deleted!"
- Dim oUpd = $"UPDATE TBEMLP_HISTORY SET DATE_DELETED_INBOX = GETDATE() WHERE EMAIL_MSGID = '{oMessageId}'"
- _DB_MSSQL.Execute_non_Query(oUpd)
- oMessageCountWorked += 1
- End If
- If IsTest = True Then
- Logger.Debug($"FetchIMAPMessagesS22 - IMAP-Test Message#: {oMessageCountRegular} - Msgsubject is: {oMsg.Subject} - MsgMessageID is: {oMessageREFGUID}")
- Logger.Debug($"FetchIMAPMessagesS22 - message correctly fetched. Mail has been downloaded to {oTempPath}")
- End If
- Try
- If DeleteinTest = True Then
- Logger.Debug($"Message shall be deleted...")
- oClient.DeleteMessage(oMessageId,)
- Logger.Debug($"FetchIMAPMessagesS22 - Message has been deleted!")
- End If
- Catch ex As Exception
- Logger.Warn("Message could not be deleted: " & ex.Message)
- End Try
- If MoveMailTo <> String.Empty Then
- Try
- Logger.Debug($"Moving to [{MoveMailTo}] is active...")
- oClient.MoveMessage(oMessageId, MoveMailTo)
- Logger.Debug($"FetchIMAPMessagesS22 - successfully moved!")
- Catch ex As Exception
- Logger.Warn($"FetchIMAPMessagesS22 - Could not move message to folder [{MoveMailTo}] - Error: {ex.Message}")
- End Try
- End If
-
-
- End If
-
- Try
- If IsTest = False Then
- File.Delete(oTempPath)
- End If
-
- Catch ex As Exception
-
- End Try
- Catch ex As Exception
- Logger.Warn($"FetchIMAPMessages - Unexpected Error while working on email: [{ex.Message}] - Last Debug Log: [{oLastLog}]")
- End Try
-
- Next
- oClient.Expunge()
- Logger.Debug("FetchIMAPMessagesS22 - Finished Message-Fetch")
- If oMessageCountRegular > 0 Or oMessageCountWorked > 0 Then
- Logger.Info($"###############################################")
- If oMessageCountRegular > 0 Then
- Logger.Info($"Found [{oMessageCountRegular.ToString}] regular messages to work on!")
- End If
- If oMessageCountWorked > 0 Then
- Logger.Info($"Found [{oMessageCountWorked.ToString}] worked messages to work on!")
- End If
- If IsTest = True Then
- Dim omsgtext As String
- If oMessageCountRegular > 0 Then
- omsgtext = $"Found [{oMessageCountRegular.ToString}] regular Messages to work on!"
- End If
- If oMessageCountWorked > 0 Then
- If omsgtext = String.Empty Then
- Logger.Info($"Found [{oMessageCountWorked.ToString}] worked messages to work on!")
- Else
- omsgtext += vbNewLine & $"Found [{oMessageCountWorked.ToString}] worked messages to work on!"
- End If
- End If
- MsgBox(omsgtext)
- End If
- Logger.Info($"###############################################")
- End If
- End Using
+ End If
Return True
Catch ex As Exception
Logger.Error(ex)
Return False
End Try
+
End Function
+
'''
''' Uses a private API from MailWriter to write a MailMessage to disk.
''' May break in future versions of .NET
@@ -181,6 +72,4 @@ Public Class clsEmailIMAP
End Try
End Function
-
-
End Class
diff --git a/App/DigitalData.EMLProfiler/clsWorkEmail.vb b/App/DigitalData.EMLProfiler/clsWorkEmail.vb
index 1215bbc..7c6bdc2 100644
--- a/App/DigitalData.EMLProfiler/clsWorkEmail.vb
+++ b/App/DigitalData.EMLProfiler/clsWorkEmail.vb
@@ -9,12 +9,11 @@ Imports Limilabs.Mail
Imports Limilabs.Mail.MIME
Imports Limilabs.Mail.Headers
Imports MailBox = Limilabs.Mail.Headers.MailBox
-Imports DigitalData.Modules.Messaging
+'Imports DigitalData.Modules.Messaging
Public Class clsWorkEmail
Private Shared Logger As Logger
Private MyLogger As LogConfig
- Private _limilab As DigitalData.Modules.Messaging.Limilab
Private _DB_MSSQL As clsDatabase
Private _USE_WM As Boolean
Private _windream As clsWindream_allgemein
@@ -22,12 +21,10 @@ Public Class clsWorkEmail
Private _firebird As Firebird
Private _worked_email As Boolean = False
Private _EmailAccountID As Integer = 1
- Sub New(LogConf As LogConfig, ConStr As String, FB_DATASOURCE As String, FB_DATABASE As String, FB_USER As String, FB_PW As String, USE_WM As Boolean, EmailAccountID As Integer)
+ Sub New(LogConf As LogConfig, ConStr As String, FB_DATASOURCE As String, FB_DATABASE As String, FB_USER As String, FB_PW As String, USE_WM As Boolean, EmailAccountID As Integer, EmlProfPraefix As String)
Try
Logger = LogConf.GetLogger
MyLogger = LogConf
- _limilab = New Limilab(LogConf)
- Logger.Debug("Limilab initialized")
_DB_MSSQL = New clsDatabase(LogConf, ConStr)
Logger.Debug("clsWorkmail _email initialized")
_USE_WM = USE_WM
@@ -40,12 +37,18 @@ Public Class clsWorkEmail
_firebird = New Firebird(LogConf, FB_DATASOURCE, FB_DATABASE, FB_USER, FB_PW)
End If
_EmailAccountID = EmailAccountID
+ SUBJECT_PRAFIX = EmlProfPraefix
Catch ex As Exception
Logger.Error(ex)
End Try
End Sub
- Public Function WorkEmailMessage(MyEmailMessage As IMail) As Boolean
+ Public Shared Function RemoveIllegalFileNameChars(input As String, Optional replacement As String = "") As String
+ Dim regexSearch = New String(Path.GetInvalidFileNameChars()) & New String(Path.GetInvalidPathChars())
+ Dim r = New Regex(String.Format("[{0}]", Regex.Escape(regexSearch)))
+ Return r.Replace(input, replacement)
+ End Function
+ Public Function WorkEmailMessage(MyEmailMessage As IMail, poUID As Long) As Boolean
Try
For Each m As MailBox In MyEmailMessage.From
CURRENT_MAIL_FROM = m.Address
@@ -57,8 +60,8 @@ Public Class clsWorkEmail
CURRENT_MAIL_BODY_Substr2 = ""
CURRENT_MAIL_MESSAGE = MyEmailMessage
CURRENT_MAIL_SUBJECT = MyEmailMessage.Subject.ToUpper
- CURRENT_MAIL_MESSAGE_ID = MyEmailMessage.MessageID
-
+ CURRENT_MAIL_MESSAGE_ID = RemoveIllegalFileNameChars(MyEmailMessage.MessageID)
+ CURRENT_MAIL_UID = poUID
If IsNothing(CURRENT_MAIL_MESSAGE_ID) Then
CURRENT_MAIL_MESSAGE_ID = System.Guid.NewGuid.ToString()
Else
@@ -66,7 +69,10 @@ Public Class clsWorkEmail
CURRENT_MAIL_MESSAGE_ID = System.Guid.NewGuid.ToString()
End If
End If
- CURRENT_MAIL_MESSAGE_ID.Replace(">", "").Replace("<", "")
+ CURRENT_MAIL_MESSAGE_ID = CURRENT_MAIL_MESSAGE_ID.Replace(">", "").Replace("<", "")
+ CURRENT_MAIL_MESSAGE_ID = CURRENT_MAIL_MESSAGE_ID.Replace("'", "")
+
+
If IsNothing(CURRENT_MAIL_SUBJECT) Then
CURRENT_MAIL_SUBJECT = ""
Else
@@ -75,6 +81,12 @@ Public Class clsWorkEmail
Logger.Debug($"Working on email from : {CURRENT_MAIL_FROM}...")
+ Dim osql = $"Select COALESCE(MAX(GUID),0) FROM TBEMLP_HISTORY WHERE EMAIL_MSGID = '{CURRENT_MAIL_MESSAGE_ID}'"
+ Dim oHistoryID = _DB_MSSQL.Execute_Scalar(osql)
+ If oHistoryID > 0 Then
+ Logger.Info($"Messsage with subject [{CURRENT_MAIL_SUBJECT}] from [{CURRENT_MAIL_FROM}] has already been worked!")
+ Return True
+ End If
Dim oTempMailExists As Boolean = SAVE2TEMP()
'Checking wether Mail can be opened
Dim oTempMailAccessible As Boolean = False
@@ -82,6 +94,7 @@ Public Class clsWorkEmail
Try
Dim oFS As FileStream = File.OpenRead(CURRENT_TEMP_MAIL_PATH)
oTempMailAccessible = True
+ oFS.Close()
Catch ex As Exception
Logger.Warn($"Could not read the Temp-Mail. Insufficient rights? Message: {ex.Message}")
End Try
@@ -98,8 +111,9 @@ Public Class clsWorkEmail
If CURRENT_ATTMT_COUNT = 0 Then
Logger.Info("### Mail contained no Attachments!! ###")
Dim oBody = EmailStrings.EMAIL_NO_FERDS
- Dim oMessagId = CURRENT_MAIL_MESSAGE.MessageID.Replace("<", "").Replace(">", "")
- AddToEmailQueueMSSQL(oMessagId, oBody, "No Attachments", _EmailAccountID)
+ If AddToEmailQueueMSSQL(CURRENT_MAIL_MESSAGE_ID, oBody, "No Attachments", _EmailAccountID) = True Then
+ CURRENT_ImapObject.DeleteMessageByUID(poUID)
+ End If
End If
Return True
Else
@@ -115,78 +129,13 @@ Public Class clsWorkEmail
Return False
End Try
End Function
- Public Function WorkEmailMessageLimi(MyEmailMessage As IMail) As Boolean
- Try
- CURRENT_MAIL_BODY_ALL = ""
- CURRENT_MAIL_BODY_ANSWER1 = ""
- CURRENT_MAIL_BODY_Substr2 = ""
- CURRENT_MAIL_MESSAGE = MyEmailMessage
- CURRENT_MAIL_SUBJECT = MyEmailMessage.Subject.ToUpper
- For Each m As MailBox In MyEmailMessage.From
- CURRENT_MAIL_FROM = m.Address
- Next
- Logger.Debug($"Working on email from: {MyEmailMessage.From.ToString}...Subject: {MyEmailMessage.Subject}")
- If IsNothing(CURRENT_MAIL_SUBJECT) Then
- CURRENT_MAIL_SUBJECT = ""
- Else
- Logger.Debug($"Subject: {CURRENT_MAIL_SUBJECT}...")
- End If
-
-
- Logger.Debug($"Working on email from : {CURRENT_MAIL_FROM}...")
- Dim oTempMailExists As Boolean = SAVE2TEMP()
- 'Checking wether Mail can be opened
- Dim oTempMailAccessible As Boolean = False
- If oTempMailExists = True Then
- Try
- Dim oFS As FileStream = File.OpenRead(CURRENT_TEMP_MAIL_PATH)
- oTempMailAccessible = True
- Catch ex As Exception
- Logger.Warn($"Could not read the Temp-Mail. Insufficient rights? Message: {ex.Message}")
- End Try
- If oTempMailAccessible = True Then
- MessageError = False
- If CURRENT_MAIL_SUBJECT.Contains("[PROCESSMANAGER]") Then
- PROCESS_MANAGER_IN()
- ElseIf MyEmailMessage.Subject.Contains("[ADDI]") Then
-
- Else
- Logger.Info("CommonEmail-Process-Sniffer")
- If COMMON_EMAIL_IN() = True Then
- INSERT_HISTORY_MSSQL()
- If CURRENT_ATTMT_COUNT = 0 Then
-
- Logger.Info("### Mail contained no Attachments!! ###")
- Dim oBody = EmailStrings.EMAIL_NO_FERDS
- Dim oMessagId = CURRENT_MAIL_MESSAGE.MessageID.Replace("<", "").Replace(">", "")
- AddToEmailQueueMSSQL(oMessagId, oBody, "No Attachments", _EmailAccountID)
- End If
-
- Return True
- Else
- Return False
- End If
- End If
-
- End If
- End If
-
-
-
-
- Catch ex As Exception
- Logger.Error(ex)
- 'clsLogger.Add("Unexpected Error in WORK_MAIL: " & ex.Message & "MESSAGE_ID: " & msg.MessageID)
- Return False
- End Try
- End Function
- Public Sub AddToEmailQueueMSSQL(MessageId As String, BodyText As String, SourceProcedure As String, pEmailAccountId As Integer)
+ Public Function AddToEmailQueueMSSQL(MessageId As String, BodyText As String, SourceProcedure As String, pEmailAccountId As Integer) As Boolean
Try
Dim oReference = MessageId
Dim oEmailTo = ""
- Dim oSubject = $"{My.Settings.PraefixSubject} - {EmailStrings.EMAIL_SUBJECT_REJECTED}"
+ Dim oSubject = $"{SUBJECT_PRAFIX} - {EmailStrings.EMAIL_SUBJECT_REJECTED}"
Dim oCreatedWho = "DDEmailProfiler"
Dim oMaskedBodyText = BodyText.Replace("'", "''")
@@ -235,17 +184,18 @@ Public Class clsWorkEmail
,'{oFinalBodyText}'
,'{SourceProcedure}'
,'{oCreatedWho}')"
- _DB_MSSQL.Execute_non_Query(oInsert)
+ Return _DB_MSSQL.Execute_non_Query(oInsert)
Else
Logger.Warn($"!! Could not get oHistoryID in AddToEmailQueueMSSQL [{osql}]")
End If
Catch ex As Exception
Logger.Error(ex)
+ Return False
End Try
- End Sub
+ End Function
Private Function PROCESS_MANAGER_IN() As Boolean
Try
- Dim oDel_email As Boolean = False
+
Logger.Info(String.Format("PM-related message found....[{0}]", CURRENT_MAIL_MESSAGE.Subject))
Logger.Debug(String.Format("PM-related message found....[{0}]", CURRENT_MAIL_MESSAGE.Subject))
Dim oExpression = "PROCESS_NAME = 'ProcessManager'"
@@ -265,7 +215,7 @@ Public Class clsWorkEmail
WM_OBJEKTTYPE = row("WM_OBJEKTTYPE")
WM_IDX_BODY_TEXT = row("WM_IDX_BODY_TEXT")
WM_IDX_BODY_SUBSTR_LENGTH = row("WM_IDX_BODY_SUBSTR_LENGTH")
- oDel_email = row("DELETE_MAIL")
+ DeleteMail = row("DELETE_MAIL")
If COPY2HDD(row("COPY_2_HDD"), row("PATH_ORIGINAL"), row("PATH_EMAIL_ERRORS"), False) = True Then
EXTRACT_BODY()
@@ -293,9 +243,7 @@ Public Class clsWorkEmail
End If
End If
- If ClassCurrent.CURRENT_DEBUG_LOCAL_EMAIL = "" Then
- EMAIL_DELETE(oDel_email)
- End If
+
End If
Return True
@@ -307,7 +255,7 @@ Public Class clsWorkEmail
End Function
Function COMMON_EMAIL_IN() As Boolean
Try
- 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' or PROCESS_NAME = 'ZugFeRD-Parser'"
@@ -315,9 +263,12 @@ Public Class clsWorkEmail
'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)
-
+ If PM_ROW.Length = 0 Then
+ Logger.Info("ATTENTION: NO PROCESS-Definititon Filter [PROCESS_NAME = 'Attachment Sniffer' or PROCESS_NAME = 'ZugFeRD-Parser'] returned 0")
+ Return False
+ End If
For Each oDataRow As DataRow In PM_ROW
- oDel_email = oDataRow("DELETE_MAIL")
+ DeleteMail = oDataRow("DELETE_MAIL")
CURRENT_MAIL_PROCESS_NAME = oDataRow.Item("PROCESS_NAME")
Try
WM_REFERENCE_INDEX = oDataRow("WM_REFERENCE_INDEX")
@@ -337,6 +288,7 @@ Public Class clsWorkEmail
If COPY2HDD(oDataRow("COPY_2_HDD"), oDataRow("PATH_ORIGINAL"), oDataRow("PATH_EMAIL_ERRORS"), True) = True Then
If EXTRACT_ATTACHMENTS(oDataRow("PATH_EMAIL_TEMP"), oDataRow("PATH_EMAIL_ERRORS")) = True Then
+
Return True
Else
Logger.Warn("!##Returning false from EXTRACT_ATTACHMENTS!##")
@@ -348,9 +300,7 @@ Public Class clsWorkEmail
Next
- If ClassCurrent.CURRENT_DEBUG_LOCAL_EMAIL = "" Then
- EMAIL_DELETE(oDel_email)
- End If
+
Return True
Catch ex As Exception
@@ -359,14 +309,13 @@ Public Class clsWorkEmail
Return False
End Try
End Function
+
Private Function SAVE2TEMP()
Try
Dim oTempPath As String = Path.Combine(Path.GetTempPath, "DD_EmailProfiler")
Logger.Debug($"oTempPath is: {oTempPath} ...")
If Directory.Exists(oTempPath) = False Then
Directory.CreateDirectory(oTempPath)
- Else
- Logger.Debug($"SAVE2TEMP - oTempPath [{oTempPath}] is already existing!!")
End If
Dim oFileEntries As String() = Directory.GetFiles(oTempPath)
' Process the list of files found in the directory.
@@ -377,17 +326,24 @@ Public Class clsWorkEmail
Catch ex As Exception
End Try
Next oFileName
-
Dim oResult As Boolean = False
- Dim oTempFilename As String = Path.Combine(oTempPath, CURRENT_MAIL_MESSAGE.Subject.Replace(" ", "") & ".eml")
- Dim oCounter As Integer = 1
+ Dim oSubjectFilename = CURRENT_MAIL_MESSAGE.Subject & ".eml"
+ Logger.Debug($"oSubjectFilename (beforeclean) is: {oSubjectFilename}")
+ oSubjectFilename = RemoveIllegalFileNameChars(oSubjectFilename)
+ Dim oTempFilename = oTempPath & "\" & oSubjectFilename
+ Logger.Debug($"oTempFilename (afterclean) is: {oTempFilename}")
- If File.Exists(oTempFilename) = True Then
- Do While File.Exists(oTempFilename)
- oCounter += 1
- oTempFilename = Path.Combine(oTempPath, oCounter & "_" & CURRENT_MAIL_MESSAGE.Subject.Replace(" ", "") & ".eml")
- Loop
- End If
+ Dim oCounter As Integer = 1
+ 'If File.Exists(oTempFilename) = True Then
+ ' Do While File.Exists(oTempFilename)
+ ' oCounter += 1
+
+ ' oTempFilename = Path.Combine(oTempPath, oCounter & "_" & CURRENT_MAIL_MESSAGE.Subject.Replace(" ", "") & ".eml")
+ ' oTempFilename = String.Join("", oTempFilename.Split(Path.GetInvalidPathChars()))
+ ' oTempFilename = oTempFilename.Replace("/", "")
+ ' oTempFilename = oTempFilename.Replace("\", "")
+ ' Loop
+ 'End If
CURRENT_MAIL_MESSAGE.Save(oTempFilename)
CURRENT_TEMP_MAIL_PATH = oTempFilename
Logger.Debug($"Email saved to Temppath {CURRENT_TEMP_MAIL_PATH}")
@@ -427,30 +383,30 @@ Public Class clsWorkEmail
If Directory.Exists(pathOriginal) Then
Dim oTempFilename = pathOriginal
If messageid = True Then
- oTempFilename &= "\" & CURRENT_MAIL_MESSAGE.MessageID & ".eml"
+ oTempFilename &= "\" & CURRENT_MAIL_MESSAGE_ID & ".eml"
Else
oTempFilename &= "\" & CURRENT_MAIL_MESSAGE.Subject.Replace(" ", "") & ".eml"
End If
- Dim cleanPath As String = String.Join("", oTempFilename.Split(Path.GetInvalidPathChars()))
- If System.IO.File.Exists(cleanPath) = False Then
+ 'Dim cleanPath As String = String.Join("", oTempFilename.Split(Path.GetInvalidPathChars()))
+ If System.IO.File.Exists(oTempFilename) = False Then
Try
- File.Delete(cleanPath)
+ File.Delete(oTempFilename)
Catch ex As Exception
Logger.Error(ex)
Return False
End Try
- CURRENT_MAIL_MESSAGE.Save(cleanPath)
- Dim oFileInfo As New FileInfo(cleanPath)
+ CURRENT_MAIL_MESSAGE.Save(oTempFilename)
+ Dim oFileInfo As New FileInfo(oTempFilename)
Dim oFileLenth As Long = oFileInfo.Length
If oFileLenth > 0 Then
- Logger.Info($"[COPY2HDD] Email saved to ({cleanPath})")
+ Logger.Info($"[COPY2HDD] Email saved to ({oTempFilename})")
Return True
Else
Logger.Warn($"##!! oFileLenth is 0 !!##")
Try
- File.Delete(cleanPath)
+ File.Delete(oTempFilename)
Catch ex As Exception
Logger.Error(ex)
End Try
@@ -458,7 +414,7 @@ Public Class clsWorkEmail
End If
Else
- Logger.Info("COPY2HDD (" & CURRENT_MAIL_MESSAGE.Subject & ") already existing in [{cleanPath}]!", False, "RUN_THREAD.COPY_2_HDD")
+ Logger.Info("COPY2HDD (" & CURRENT_MAIL_MESSAGE.Subject & ") already existing in [{oTempFilename}]!", False, "RUN_THREAD.COPY_2_HDD")
Return True
End If
End If
@@ -654,12 +610,12 @@ Public Class clsWorkEmail
If File.Exists(CURRENT_TEMP_MAIL_PATH) Then
' Dim oCurrentMail As New Independentsoft.Email.Mime.Message(CURRENT_TEMP_MAIL_PATH)
- For Each mime As MimeData In CURRENT_MAIL_MESSAGE.Attachments
- mime.Save(mime.SafeFileName)
- Next
+ 'For Each mime As MimeData In CURRENT_MAIL_MESSAGE.Attachments
+ ' mime.Save(mime.SafeFileName)
+ 'Next
For Each mime As MimeData In CURRENT_MAIL_MESSAGE.Attachments
' For Each oAttachment As Attachment In oCurrentMail.GetAttachments
- Dim oATTFilename = mime.SafeFileName 'oAttachment.GetFileName.ToString.ToLower
+ Dim oATTFilename = mime.SafeFileName.ToString.ToLower 'oAttachment.GetFileName.ToString.ToLower
Dim oValidExt As Boolean = False
If oATTFilename.EndsWith("pdf") Then
oValidExt = True
@@ -837,26 +793,7 @@ Public Class clsWorkEmail
End Try
End Function
- 'Private Function GetChildren(ByVal bodyParts As BodyPartCollection) As BodyPartCollection
- ' Dim children As New BodyPartCollection()
-
- ' For i As Integer = 0 To bodyParts.Count - 1
- ' children.Add(GetChildren(bodyParts(i).BodyParts))
- ' children.Add(bodyParts(i))
- ' Next
-
- ' Return children
- 'End Function
- Private Function EMAIL_DELETE(del As Boolean)
- If del = True And MessageError = False Then
- _limilab.DeleteMessageByUID(CURRENT_MAIL_MESSAGE_ID)
- Else
- If MessageError = True Then
- Logger.Warn($"Did not delete Message [{CURRENT_MAIL_MESSAGE.MessageID}] as there was an MessageError!")
- End If
- End If
- End Function
Private Function WORK_POLL_STEPS() As Boolean
Try
Dim oFoundSomething As Boolean = False
diff --git a/App/DigitalData.EMLProfiler/clsWorker.vb b/App/DigitalData.EMLProfiler/clsWorker.vb
index 064790a..9c7c483 100644
--- a/App/DigitalData.EMLProfiler/clsWorker.vb
+++ b/App/DigitalData.EMLProfiler/clsWorker.vb
@@ -7,7 +7,7 @@ Imports Limilabs.Mail.MIME
Imports Limilabs.Mail.Headers
Public Class clsWorker
Private Shared Logger As Logger
- Private MyLogger As LogConfig
+ Private MyLogConfig As LogConfig
'Private _email As clsEmail
Private _emailIMAP As clsEmailIMAP
Private _Database As clsDatabase
@@ -17,12 +17,11 @@ Public Class clsWorker
Private _workmail As clsWorkEmail
Private _wrapper As clsEncryption
Private _POLL_PROFILEID As Integer = 0
- Private _limilab As DigitalData.Modules.Messaging.Limilab
+
Dim cs As String
- Sub New(LogConf As LogConfig, ConStr As String, POLL_PROFILEID As Integer, FB_DATASOURCE As String, FB_DATABASE As String, FB_USER As String, FB_PW As String, USE_WM As Boolean, EmailAccountID As Integer, Optional plocaleml As String = "")
+ Sub New(LogConf As LogConfig, ConStr As String, POLL_PROFILEID As Integer, FB_DATASOURCE As String, FB_DATABASE As String, FB_USER As String, FB_PW As String, USE_WM As Boolean, EmailAccountID As Integer, EmlProfPraefix As String, Optional plocaleml As String = "")
+ MyLogConfig = LogConf
Logger = LogConf.GetLogger
- _limilab = New Limilab(LogConf)
- ' _email = New clsEmail(LogConf)
_emailIMAP = New clsEmailIMAP(LogConf, ConStr)
_Database = New clsDatabase(LogConf, ConStr)
cs = ConStr
@@ -32,20 +31,12 @@ Public Class clsWorker
_windream_index = New clsWindream_Index(LogConf)
End If
- _workmail = New clsWorkEmail(LogConf, ConStr, FB_DATASOURCE, FB_DATABASE, FB_USER, FB_PW, USE_WM, EmailAccountID)
+ _workmail = New clsWorkEmail(LogConf, ConStr, FB_DATASOURCE, FB_DATABASE, FB_USER, FB_PW, USE_WM, EmailAccountID, EmlProfPraefix)
_wrapper = New clsEncryption("!35452didalog=", LogConf)
_POLL_PROFILEID = POLL_PROFILEID
ClassCurrent.CURRENT_DEBUG_LOCAL_EMAIL = plocaleml
End Sub
- Public Sub Debug_Local_Email()
- Try
-
- Catch ex As Exception
-
- End Try
- End Sub
-
Public Sub Start_WorkingProfiles(Optional LocalEmail As Boolean = False)
Try
TEMP_FILES.Clear()
@@ -65,10 +56,10 @@ Public Class clsWorker
osql &= " WHERE ACTIVE = 1 order by SEQUENCE"
Else
osql &= " WHERE GUID = " & _POLL_PROFILEID
- End If
+ End If
Dim DT_TBDD_EMAIL As DataTable = _Database.Return_Datatable("SELECT * FROM TBDD_EMAIL_ACCOUNT WHERE ACTIVE = 1")
Dim DT_PROFILES = _Database.Return_Datatable(osql)
- If Not IsNothing(DT_PROFILES) Then
+ If Not IsNothing(DT_PROFILES) Then
If DT_PROFILES.Rows.Count > 0 Then
Logger.Debug("count of active profiles: " & DT_PROFILES.Rows.Count.ToString)
For Each oDR_Profile As DataRow In DT_PROFILES.Rows
@@ -117,6 +108,7 @@ Public Class clsWorker
MAIL_PORT = row("PORT_IN")
MAIL_INBOX_NAME = "Inbox"
MAIL_ARCHIVE_FOLDER = row("ARCHIVE_FOLDER")
+ MAIL_AUTHTYPE = row("AUTH_TYPE")
Logger.Debug(String.Format("{0}-{1}", MAIL_FROM, MAIL_SERVER))
Dim PWPlain = _wrapper.DecryptData(MAIL_USER_PW)
@@ -131,16 +123,13 @@ Public Class clsWorker
End If
Next
- CURRENT_WORKMAIL_LIST.Clear()
+ CURRENT_WORKMAIL_UID_LIST.Clear()
If MAIL_SERVER <> "" Then
Dim pollresult As Boolean = False
If LocalEmail = True Then
pollresult = True
- Dim oEmail As IMail = New MailBuilder().CreateFromEmlFile(CURRENT_DEBUG_LOCAL_EMAIL)
- Dim oMessage As New Message(CURRENT_DEBUG_LOCAL_EMAIL)
- CURRENT_WORKMAIL_LIST.Add(oMessage)
- CURRENT_WORKMAIL_LIST.Add(oEmail)
+
Else
Select Case CURRENT_POLL_TYPE
Case "POP"
@@ -148,36 +137,51 @@ Public Class clsWorker
Case "IMAP"
'pollresult = _emailIMAP.IMAP_COLLECT()
'pollresult = _emailIMAP.FetchIMAPMessagesIsoft(MAIL_SERVER, MAIL_PORT, MAIL_USER, MAIL_USER_PW, MAIL_INBOX_NAME, MAIL_ARCHIVE_FOLDER)
- pollresult = _emailIMAP.FetchIMAPMessagesS22(MAIL_SERVER, MAIL_PORT, MAIL_USER, MAIL_USER_PW, MAIL_INBOX_NAME)
+ pollresult = _emailIMAP.FetchIMAPMessagesLimilab(MAIL_SERVER, MAIL_PORT, MAIL_USER, MAIL_USER_PW, MAIL_AUTHTYPE)
End Select
End If
- 'If pollresult = False Then
- ' Logger.Info(String.Format("Error while polling emails...Trying S22...."))
- ' pollresult = _emailIMAP.FetchIMAPMessages(MAIL_SERVER, MAIL_PORT, MAIL_USER, MAIL_USER_PW, MAIL_INBOX_NAME)
- ' If pollresult = False Then
- ' Logger.Warn(String.Format("FetchIMAPMessagesS22 - also returned error!"))
- ' End If
- 'End If
- If CURRENT_WORKMAIL_LIST.Count() > 0 Then
- Logger.Info(String.Format("Worked/Pulled: [{0}] E-Mails", CURRENT_WORKMAIL_LIST.Count()))
- Try
- 'For Each pulled_msg As Message In CURRENT_WORKMAIL_LIST
- ' _workmail.WorkEmailMessage(pulled_msg)
- ' CURRENT_MAIL_MESSAGE = Nothing
- 'Next
- For Each pulled_msg As IMail In CURRENT_WORKMAIL_LIST
- _workmail.WorkEmailMessage(pulled_msg)
- CURRENT_MAIL_MESSAGE = Nothing
- Next
- Catch ex As Exception
- Logger.Error(ex)
- Logger.Warn($"Error converting CURRENT_WORKMAIL_LIST to IsoftMesage: {ex.Message} ")
- End Try
+ If CURRENT_WORKMAIL_UID_LIST.Count() > 0 Or LocalEmail = True Then
+ If LocalEmail Then
+ Logger.Info("Working with local Mail")
+ Dim oEmail As IMail = New MailBuilder().CreateFromEmlFile(CURRENT_DEBUG_LOCAL_EMAIL)
+ _workmail.WorkEmailMessage(oEmail, 123456789)
+ CURRENT_MAIL_MESSAGE = Nothing
+ Else
+ Try
+ Logger.Info(String.Format("Pulled: [{0}] E-Mails", CURRENT_WORKMAIL_UID_LIST.Count()))
+ For Each oUID In CURRENT_WORKMAIL_UID_LIST
+ Dim oEml = CURRENT_ImapObject.GetMessageByUID(oUID)
+ Dim oEmail As IMail = New MailBuilder().CreateFromEml(oEml)
+ If Not IsNothing(oEmail) Then
+ If _workmail.WorkEmailMessage(oEmail, oUID) = True Then
+ If ClassCurrent.CURRENT_DEBUG_LOCAL_EMAIL = "" Then
+ EMAIL_DELETE()
+ End If
+ End If
+ Else
+ Logger.Info("### oEmail was nothing ###")
+ End If
+
+ CURRENT_MAIL_MESSAGE = Nothing
+ Next
+ If CURRENT_POLL_TYPE = "IMAP" And CURRENT_WORKMAIL_UID_LIST.Count > 0 Then
+ If Not IsNothing(CURRENT_ImapObject) Then
+ CURRENT_ImapObject.Close()
+ End If
+ End If
+
+ Catch ex As Exception
+ Logger.Error(ex)
+ Logger.Warn($"Unexpected Error working CURRENT_WORKMAIL_UID_LIST: {ex.Message} ")
+ End Try
+
+ End If
Else
Logger.Debug(String.Format("No emails for profile!"))
End If
+
Else
Logger.Warn("For the Email-Profile ID " & CURRENT_EMAIL_GUID & " no record could be found!")
End If
@@ -201,23 +205,6 @@ Public Class clsWorker
End Try
End If
Next
- 'Try
- ' Dim oDiTempPath As New IO.DirectoryInfo(System.IO.Path.GetTempPath)
- ' Dim oaryFi As IO.FileInfo() = oDiTempPath.GetFiles()
- ' Dim ofi As IO.FileInfo
-
- ' For Each fi In oaryFi
- ' Try
- ' fi.Delete()
- ' Catch ex As Exception
- ' Logger.Warn($"TempFileDelete2 - Could not delete the tempfile: {ex.Message}")
- ' End Try
-
- ' Next
- 'Catch ex As Exception
- ' Logger.Warn($"TempFileDelete3 - Could not delete the tempfile: {ex.Message}")
- 'End Try
-
Catch ex As Exception
Logger.Warn($"TempFileDelete(X) - Could not delete the tempfile from TEMP_FILES: {ex.Message}")
@@ -225,13 +212,27 @@ Public Class clsWorker
Else
Logger.Info("No active profiles")
- End If
End If
+ End If
- _Database.Execute_non_Query("UPDATE TBEMLP_CONFIG SET LAST_TICK = GETDATE() WHERE GUID = 1")
+ _Database.Execute_non_Query("UPDATE TBEMLP_CONFIG SET LAST_TICK = GETDATE() WHERE GUID = 1")
End If
Catch ex As Exception
Logger.Error(ex)
End Try
End Sub
+ Private Function EMAIL_DELETE()
+ If DeleteMail = True And MessageError = False Then
+ If Not IsNothing(CURRENT_ImapObject) Then
+ CURRENT_ImapObject.DeleteMessageByUID(CURRENT_MAIL_UID)
+ Else
+ Logger.Warn("EMAIL_DELETE - CURRENT_ImapObject is nothing")
+ End If
+
+ Else
+ If MessageError = True Then
+ Logger.Warn($"Did not delete Message with UID [{CURRENT_MAIL_UID}] as there was an MessageError!")
+ End If
+ End If
+ End Function
End Class
diff --git a/App/DigitalData.EMLProfiler/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/App/DigitalData.EMLProfiler/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache
index 3593490..04b4c95 100644
Binary files a/App/DigitalData.EMLProfiler/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache and b/App/DigitalData.EMLProfiler/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ
diff --git a/App/DigitalData.EMLProfiler/obj/Debug/DigitalData.EMLProfiler.dll b/App/DigitalData.EMLProfiler/obj/Debug/DigitalData.EMLProfiler.dll
index 3e60104..964626e 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 77e2fa0..53b431f 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.AssemblyReference.cache b/App/DigitalData.EMLProfiler/obj/Debug/DigitalData.EMLProfiler.vbproj.AssemblyReference.cache
deleted file mode 100644
index c05e36e..0000000
Binary files a/App/DigitalData.EMLProfiler/obj/Debug/DigitalData.EMLProfiler.vbproj.AssemblyReference.cache and /dev/null differ
diff --git a/App/DigitalData.EMLProfiler/obj/Debug/DigitalData.EMLProfiler.vbproj.CoreCompileInputs.cache b/App/DigitalData.EMLProfiler/obj/Debug/DigitalData.EMLProfiler.vbproj.CoreCompileInputs.cache
index bfd758c..2f9f273 100644
--- a/App/DigitalData.EMLProfiler/obj/Debug/DigitalData.EMLProfiler.vbproj.CoreCompileInputs.cache
+++ b/App/DigitalData.EMLProfiler/obj/Debug/DigitalData.EMLProfiler.vbproj.CoreCompileInputs.cache
@@ -1 +1 @@
-24d36d8793b73fae098b106b4d1e325ae023f116
+2ccc3133aa6c37a6343d615f291113d83df59e73
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 1b6044a..a684867 100644
--- a/App/DigitalData.EMLProfiler/obj/Debug/DigitalData.EMLProfiler.vbproj.FileListAbsolute.txt
+++ b/App/DigitalData.EMLProfiler/obj/Debug/DigitalData.EMLProfiler.vbproj.FileListAbsolute.txt
@@ -28,39 +28,32 @@ E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\DigitalData.EMLProfiler\bin
E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\DigitalData.EMLProfiler\bin\Debug\DigitalData.EMLProfiler.xml
E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\DigitalData.EMLProfiler\bin\Debug\AE.Net.Mail.dll
E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\DigitalData.EMLProfiler\bin\Debug\DigitalData.Modules.Database.dll
+E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\DigitalData.EMLProfiler\bin\Debug\DigitalData.Modules.Filesystem.dll
E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\DigitalData.EMLProfiler\bin\Debug\DigitalData.Modules.Logging.dll
E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\DigitalData.EMLProfiler\bin\Debug\DigitalData.Modules.Messaging.dll
-E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\DigitalData.EMLProfiler\bin\Debug\Independentsoft.Msg.dll
E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\DigitalData.EMLProfiler\bin\Debug\Interop.WINDREAMLib.dll
E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\DigitalData.EMLProfiler\bin\Debug\Mail.dll
E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\DigitalData.EMLProfiler\bin\Debug\NLog.dll
-E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\DigitalData.EMLProfiler\bin\Debug\S22.Imap.dll
E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\DigitalData.EMLProfiler\bin\Debug\FirebirdSql.Data.FirebirdClient.dll
E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\DigitalData.EMLProfiler\bin\Debug\Oracle.ManagedDataAccess.dll
E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\DigitalData.EMLProfiler\bin\Debug\DigitalData.Modules.Encryption.dll
-E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\DigitalData.EMLProfiler\bin\Debug\Independentsoft.Email.dll
-E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\DigitalData.EMLProfiler\bin\Debug\DigitalData.Modules.Filesystem.dll
-E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\DigitalData.EMLProfiler\bin\Debug\DigitalData.Modules.Language.dll
E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\DigitalData.EMLProfiler\bin\Debug\protobuf-net.dll
+E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\DigitalData.EMLProfiler\bin\Debug\DigitalData.Modules.Language.dll
E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\DigitalData.EMLProfiler\bin\Debug\AE.Net.Mail.pdb
E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\DigitalData.EMLProfiler\bin\Debug\DigitalData.Modules.Database.pdb
E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\DigitalData.EMLProfiler\bin\Debug\DigitalData.Modules.Database.xml
E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\DigitalData.EMLProfiler\bin\Debug\DigitalData.Modules.Database.dll.config
+E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\DigitalData.EMLProfiler\bin\Debug\DigitalData.Modules.Filesystem.pdb
+E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\DigitalData.EMLProfiler\bin\Debug\DigitalData.Modules.Filesystem.xml
E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\DigitalData.EMLProfiler\bin\Debug\DigitalData.Modules.Logging.pdb
E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\DigitalData.EMLProfiler\bin\Debug\DigitalData.Modules.Logging.xml
E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\DigitalData.EMLProfiler\bin\Debug\DigitalData.Modules.Messaging.pdb
E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\DigitalData.EMLProfiler\bin\Debug\DigitalData.Modules.Messaging.xml
-E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\DigitalData.EMLProfiler\bin\Debug\Independentsoft.Msg.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\DigitalData.Modules.Encryption.pdb
E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\DigitalData.EMLProfiler\bin\Debug\DigitalData.Modules.Encryption.xml
-E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\DigitalData.EMLProfiler\bin\Debug\Independentsoft.Email.xml
-E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\DigitalData.EMLProfiler\bin\Debug\DigitalData.Modules.Filesystem.pdb
-E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\DigitalData.EMLProfiler\bin\Debug\DigitalData.Modules.Filesystem.xml
+E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\DigitalData.EMLProfiler\bin\Debug\protobuf-net.xml
E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\DigitalData.EMLProfiler\bin\Debug\DigitalData.Modules.Language.pdb
E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\DigitalData.EMLProfiler\bin\Debug\DigitalData.Modules.Language.xml
-E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\DigitalData.EMLProfiler\bin\Debug\protobuf-net.xml
-E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\DigitalData.EMLProfiler\obj\Debug\DigitalData.EMLProfiler.vbproj.AssemblyReference.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/SERV_EMAIL/App.config b/App/SERV_EMAIL/App.config
index 210971d..5fc2543 100644
--- a/App/SERV_EMAIL/App.config
+++ b/App/SERV_EMAIL/App.config
@@ -35,6 +35,9 @@
2
+
+ EmailProfiler
+
\ No newline at end of file
diff --git a/App/SERV_EMAIL/My Project/AssemblyInfo.vb b/App/SERV_EMAIL/My Project/AssemblyInfo.vb
index 29dff00..f95bfef 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/My Project/Settings.Designer.vb b/App/SERV_EMAIL/My Project/Settings.Designer.vb
index 821c1ee..810604b 100644
--- a/App/SERV_EMAIL/My Project/Settings.Designer.vb
+++ b/App/SERV_EMAIL/My Project/Settings.Designer.vb
@@ -127,6 +127,15 @@ Namespace My
Return CType(Me("EmailAccountID"),Integer)
End Get
End Property
+
+ _
+ Public ReadOnly Property EmailProfilerPraefix() As String
+ Get
+ Return CType(Me("EmailProfilerPraefix"),String)
+ End Get
+ End Property
End Class
End Namespace
diff --git a/App/SERV_EMAIL/My Project/Settings.settings b/App/SERV_EMAIL/My Project/Settings.settings
index 281b207..8986cce 100644
--- a/App/SERV_EMAIL/My Project/Settings.settings
+++ b/App/SERV_EMAIL/My Project/Settings.settings
@@ -31,5 +31,8 @@
2
+
+ EmailProfiler
+
\ No newline at end of file
diff --git a/App/SERV_EMAIL/MyService.vb b/App/SERV_EMAIL/MyService.vb
index 80e4f16..1c4e18c 100644
--- a/App/SERV_EMAIL/MyService.vb
+++ b/App/SERV_EMAIL/MyService.vb
@@ -10,7 +10,6 @@ Public Class MyService
Private MyLogger As LogConfig
Private Logger As Logger
Private _database As clsDatabase
- Private _email As clsEmail
Private _windream As clsWindream_allgemein
Private _workmail As clsWorkEmail
#End Region
@@ -52,10 +51,9 @@ Public Class MyService
End If
_database = New clsDatabase(MyLogger, My.Settings.MyConnectionString)
- _email = New clsEmail(MyLogger)
Logger.Debug("_database and _email initialized")
_workmail = New clsWorkEmail(MyLogger, My.Settings.MyConnectionString, My.Settings.FB_DATASOURCE, My.Settings.FB_DATABASE, My.Settings.FB_USER, My.Settings.FB_PW,
- My.Settings.USE_WM, My.Settings.EmailAccountID)
+ My.Settings.USE_WM, My.Settings.EmailAccountID, My.Settings.EmailProfilerPraefix)
Logger.Debug("_workmail initialized")
If _database.Init(My.Settings.MyConnectionString) = False Then
Logger.Warn("ATTENTION: No Connection was established '" & My.Settings.MyConnectionString & "'!")
@@ -90,7 +88,7 @@ Public Class MyService
Public Sub RUN_THREAD(ByVal sender As Object, ByVal e As System.ComponentModel.DoWorkEventArgs)
Try
Dim notcompleted As Boolean = False
- Dim _work As New clsWorker(MyLogger, My.Settings.MyConnectionString, 0, My.Settings.FB_DATASOURCE, My.Settings.FB_DATABASE, My.Settings.FB_USER, My.Settings.FB_PW, My.Settings.USE_WM, My.Settings.EmailAccountID)
+ Dim _work As New clsWorker(MyLogger, My.Settings.MyConnectionString, 0, My.Settings.FB_DATASOURCE, My.Settings.FB_DATABASE, My.Settings.FB_USER, My.Settings.FB_PW, My.Settings.USE_WM, My.Settings.EmailAccountID, My.Settings.EmailProfilerPraefix)
_work.Start_WorkingProfiles()
Catch ex As Exception
Logger.Error(ex)
diff --git a/App/SERV_EMAIL/SERV_EMAIL.vbproj b/App/SERV_EMAIL/SERV_EMAIL.vbproj
index 987bafd..fcf4d17 100644
--- a/App/SERV_EMAIL/SERV_EMAIL.vbproj
+++ b/App/SERV_EMAIL/SERV_EMAIL.vbproj
@@ -47,9 +47,9 @@
On
-
+
False
- ..\DigitalData.EMLProfiler\bin\Release\DigitalData.EMLProfiler.dll
+ ..\DigitalData.EMLProfiler\bin\Debug\DigitalData.EMLProfiler.dll
False
diff --git a/App/SERV_EMAIL/bin/Debug/DigitalData.EMLProfiler.dll b/App/SERV_EMAIL/bin/Debug/DigitalData.EMLProfiler.dll
index 4f44368..4025d47 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 d3cdd54..79a9965 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/DigitalData.Modules.Database.dll b/App/SERV_EMAIL/bin/Debug/DigitalData.Modules.Database.dll
index 03a8851..192f180 100644
Binary files a/App/SERV_EMAIL/bin/Debug/DigitalData.Modules.Database.dll and b/App/SERV_EMAIL/bin/Debug/DigitalData.Modules.Database.dll differ
diff --git a/App/SERV_EMAIL/bin/Debug/DigitalData.Modules.Database.pdb b/App/SERV_EMAIL/bin/Debug/DigitalData.Modules.Database.pdb
index 3f2f8bc..2163978 100644
Binary files a/App/SERV_EMAIL/bin/Debug/DigitalData.Modules.Database.pdb and b/App/SERV_EMAIL/bin/Debug/DigitalData.Modules.Database.pdb differ
diff --git a/App/SERV_EMAIL/bin/Debug/DigitalData.Modules.Encryption.dll b/App/SERV_EMAIL/bin/Debug/DigitalData.Modules.Encryption.dll
index 0b89f92..9af337f 100644
Binary files a/App/SERV_EMAIL/bin/Debug/DigitalData.Modules.Encryption.dll and b/App/SERV_EMAIL/bin/Debug/DigitalData.Modules.Encryption.dll differ
diff --git a/App/SERV_EMAIL/bin/Debug/DigitalData.Modules.Logging.dll b/App/SERV_EMAIL/bin/Debug/DigitalData.Modules.Logging.dll
index b2ccc0c..67424d4 100644
Binary files a/App/SERV_EMAIL/bin/Debug/DigitalData.Modules.Logging.dll and b/App/SERV_EMAIL/bin/Debug/DigitalData.Modules.Logging.dll differ
diff --git a/App/SERV_EMAIL/bin/Debug/DigitalData.Modules.Logging.pdb b/App/SERV_EMAIL/bin/Debug/DigitalData.Modules.Logging.pdb
index 283785a..c020214 100644
Binary files a/App/SERV_EMAIL/bin/Debug/DigitalData.Modules.Logging.pdb and b/App/SERV_EMAIL/bin/Debug/DigitalData.Modules.Logging.pdb differ
diff --git a/App/SERV_EMAIL/bin/Debug/EmailProfilerService.zip b/App/SERV_EMAIL/bin/Debug/EmailProfilerService.zip
deleted file mode 100644
index 417f145..0000000
Binary files a/App/SERV_EMAIL/bin/Debug/EmailProfilerService.zip and /dev/null differ
diff --git a/App/SERV_EMAIL/bin/Debug/SERV_EMAIL.exe b/App/SERV_EMAIL/bin/Debug/SERV_EMAIL.exe
index 9c264fd..fffe410 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.exe.config b/App/SERV_EMAIL/bin/Debug/SERV_EMAIL.exe.config
index 210971d..5fc2543 100644
--- a/App/SERV_EMAIL/bin/Debug/SERV_EMAIL.exe.config
+++ b/App/SERV_EMAIL/bin/Debug/SERV_EMAIL.exe.config
@@ -35,6 +35,9 @@
2
+
+ EmailProfiler
+
\ No newline at end of file
diff --git a/App/SERV_EMAIL/bin/Debug/SERV_EMAIL.pdb b/App/SERV_EMAIL/bin/Debug/SERV_EMAIL.pdb
index faee0c4..09aa870 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/DesignTimeResolveAssemblyReferences.cache b/App/SERV_EMAIL/obj/Debug/DesignTimeResolveAssemblyReferences.cache
index a365a87..dec58b2 100644
Binary files a/App/SERV_EMAIL/obj/Debug/DesignTimeResolveAssemblyReferences.cache and b/App/SERV_EMAIL/obj/Debug/DesignTimeResolveAssemblyReferences.cache differ
diff --git a/App/SERV_EMAIL/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/App/SERV_EMAIL/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache
index f3ac234..5989da6 100644
Binary files a/App/SERV_EMAIL/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache and b/App/SERV_EMAIL/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ
diff --git a/App/SERV_EMAIL/obj/Debug/SERV_EMAIL.exe b/App/SERV_EMAIL/obj/Debug/SERV_EMAIL.exe
index 9c264fd..fffe410 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 faee0c4..09aa870 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.vbproj.AssemblyReference.cache b/App/SERV_EMAIL/obj/Debug/SERV_EMAIL.vbproj.AssemblyReference.cache
index ec8c6cb..7a67764 100644
Binary files a/App/SERV_EMAIL/obj/Debug/SERV_EMAIL.vbproj.AssemblyReference.cache and b/App/SERV_EMAIL/obj/Debug/SERV_EMAIL.vbproj.AssemblyReference.cache differ
diff --git a/App/SERV_EMAIL/obj/Debug/SERV_EMAIL.vbproj.CoreCompileInputs.cache b/App/SERV_EMAIL/obj/Debug/SERV_EMAIL.vbproj.CoreCompileInputs.cache
index 0ef5947..1f63b05 100644
--- a/App/SERV_EMAIL/obj/Debug/SERV_EMAIL.vbproj.CoreCompileInputs.cache
+++ b/App/SERV_EMAIL/obj/Debug/SERV_EMAIL.vbproj.CoreCompileInputs.cache
@@ -1 +1 @@
-4449f7d03a18e13b7eb0ee8590d9e72ae625781d
+cea1fa609f67c5a2d096053c2a7f87e6739c097c
diff --git a/App/SERV_EMAIL/obj/Debug/SERV_EMAIL.vbproj.FileListAbsolute.txt b/App/SERV_EMAIL/obj/Debug/SERV_EMAIL.vbproj.FileListAbsolute.txt
index 4332160..d69db59 100644
--- a/App/SERV_EMAIL/obj/Debug/SERV_EMAIL.vbproj.FileListAbsolute.txt
+++ b/App/SERV_EMAIL/obj/Debug/SERV_EMAIL.vbproj.FileListAbsolute.txt
@@ -23,22 +23,32 @@ E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\SERV_EMAIL\bin\Debug\Digita
E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\SERV_EMAIL\bin\Debug\Independentsoft.Email.dll
E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\SERV_EMAIL\bin\Debug\Interop.WINDREAMLib.dll
E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\SERV_EMAIL\bin\Debug\NLog.dll
-E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\SERV_EMAIL\bin\Debug\S22.Imap.dll
+E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\SERV_EMAIL\bin\Debug\Mail.dll
+E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\SERV_EMAIL\bin\Debug\DigitalData.Modules.Messaging.dll
E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\SERV_EMAIL\bin\Debug\DigitalData.Modules.Database.dll
+E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\SERV_EMAIL\bin\Debug\DigitalData.Modules.Filesystem.dll
+E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\SERV_EMAIL\bin\Debug\DigitalData.Modules.Language.dll
E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\SERV_EMAIL\bin\Debug\FirebirdSql.Data.FirebirdClient.dll
E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\SERV_EMAIL\bin\Debug\Oracle.ManagedDataAccess.dll
E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\SERV_EMAIL\bin\Debug\DigitalData.Modules.Encryption.dll
+E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\SERV_EMAIL\bin\Debug\protobuf-net.dll
E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\SERV_EMAIL\bin\Debug\DigitalData.EMLProfiler.pdb
E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\SERV_EMAIL\bin\Debug\DigitalData.EMLProfiler.xml
E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\SERV_EMAIL\bin\Debug\DigitalData.EMLProfiler.dll.config
E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\SERV_EMAIL\bin\Debug\DigitalData.Modules.Logging.pdb
E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\SERV_EMAIL\bin\Debug\DigitalData.Modules.Logging.xml
-E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\SERV_EMAIL\bin\Debug\S22.Imap.xml
+E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\SERV_EMAIL\bin\Debug\DigitalData.Modules.Messaging.pdb
+E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\SERV_EMAIL\bin\Debug\DigitalData.Modules.Messaging.xml
E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\SERV_EMAIL\bin\Debug\DigitalData.Modules.Database.pdb
E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\SERV_EMAIL\bin\Debug\DigitalData.Modules.Database.xml
E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\SERV_EMAIL\bin\Debug\DigitalData.Modules.Database.dll.config
+E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\SERV_EMAIL\bin\Debug\DigitalData.Modules.Filesystem.pdb
+E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\SERV_EMAIL\bin\Debug\DigitalData.Modules.Filesystem.xml
+E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\SERV_EMAIL\bin\Debug\DigitalData.Modules.Language.pdb
+E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\SERV_EMAIL\bin\Debug\DigitalData.Modules.Language.xml
E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\SERV_EMAIL\bin\Debug\DigitalData.Modules.Encryption.pdb
E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\SERV_EMAIL\bin\Debug\DigitalData.Modules.Encryption.xml
+E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\SERV_EMAIL\bin\Debug\protobuf-net.xml
E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\SERV_EMAIL\obj\Debug\SERV_EMAIL.vbproj.AssemblyReference.cache
E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\SERV_EMAIL\obj\Debug\SERV_EMAIL.Resources.resources
E:\SchreiberM\Visual Studio\GIT\DD_EmailProfiler\App\SERV_EMAIL\obj\Debug\SERV_EMAIL.MyService.resources
diff --git a/App/SERV_EMAIL/obj/Debug/TempPE/My Project.Resources.Designer.vb.dll b/App/SERV_EMAIL/obj/Debug/TempPE/My Project.Resources.Designer.vb.dll
index 4310506..5fcbbbe 100644
Binary files a/App/SERV_EMAIL/obj/Debug/TempPE/My Project.Resources.Designer.vb.dll and b/App/SERV_EMAIL/obj/Debug/TempPE/My Project.Resources.Designer.vb.dll differ