Catalyst Internet Mail .NET

InternetMail Members

InternetMail overview

Public Static (Shared) Fields

mailPortImap4 A constant value which specifies the default port number for a connection to a mail server.
mailPortImap4s A constant value which specifies the default port number for a secure connection to a mail server.
mailPortPop3 A constant value which specifies the default port number for a connection to a mail server.
mailPortPop3s A constant value which specifies the default port number for a secure connection to a mail server.
mailPortSmtp A constant value which specifies the default port number for submitting messages to a mail server.
mailTimeout A constant value which specifies the default timeout period.

Public Instance Constructors

InternetMail Constructor Initializes a new instance of the InternetMail class.

Public Instance Fields

Mailbox Gets the names of the available mailboxes for the current user.
NameServer Change or return the Internet address for a nameserver
Recipient Gets the recipients specified in the current message.

Public Instance Properties

Attachment Gets and sets the name of the current file attachment.
Bcc Gets and sets the blind carbon-copy header field value.
Cc Gets and sets the carbon-copy header field value.
CertificateExpires Get a value that specifies the date that the security certificate expires.
CertificateIssued Get a value that specifies the date that the security certificate was issued.
CertificateIssuer Get a value that provides information about the organization that issued the certificate.
CertificateName Gets and sets a value that specifies the name of the security certificate.
CertificateStatus Gets a value which indicates the status of the security certificate returned by the remote host.
CertificateStore Gets and sets a value that specifies the name of the local certificate store.
CertificateSubject Gets a value that provides information about the organization that the server certificate was issued to.
CipherStrength Gets a value that indicates the length of the key used by the encryption algorithm for a secure connection.
ContentId Gets the content identifier for the current message part.
ContentLength Gets the size of the data stored in the current message part.
ContentType Gets and sets the content type of the selected message part.
Date Gets and sets the date for the current message.
Delivered Gets the number of recipients the message has been delivered to.
Domain Gets and sets the local domain name.
Encoding Gets and sets the content encoding method used for the current message part.
From Gets and sets the address of the user who sent the message.
HashStrength Gets a value which specifies the length of the message digest that was selected for a secure connection.
IsConnected Gets a value which indicates if a connection to the mail server has been established.
IsInitialized Gets a value which indicates if the current instance of the class has been initialized successfully.
LastError Gets and sets a value which specifies the last error that has occurred.
LastErrorString Gets a value which describes the last error that has occurred.
LastMessage Gets the number of the last message available in the current mailbox.
LocalAddress Gets and sets the local Internet address that the client will be bound to.
Localize Gets and sets a value which specifies if date and time values should be localized.
LocalName Gets a value which specifies the host name for the local system.
Mailboxes Gets the number of mailboxes available on the server.
MailboxFlags Gets one or more flags which identify characteristics of the current mailbox.
MailboxMask Gets and sets the current mailbox wildcard mask.
MailboxName Gets and sets the name of the current mailbox.
MailboxPath Gets and sets the current mailbox reference path.
MailboxSize Gets the size of the current mailbox.
MailboxUID Gets the unique identifier for the current mailbox.
Mailer Gets and sets the name of the mailer application.
Message Gets and sets the current message headers and body.
MessageCount Gets the number of messages available in the current mailbox.
MessageFlags Gets and sets one or more flags for the current message.
MessageID Gets the current message identifier.
MessageIndex Gets and sets the current message number.
MessagePart Gets and sets the current section index in a multipart message.
MessageParts Gets the number of sections in a multipart message.
MessageSize Gets the size of the current message in bytes.
MessageText Gets and sets the text body of the current message part.
MessageUID Gets the UID for the current message.
MimeVersion Gets and sets the MIME version number for the current message.
NewMessages Gets the number of new messages available in the current mailbox.
Options Gets and sets a value which specifies one or more client options.
Organization Gets and sets the name of the organization that originated the message.
Password Gets and sets the password used to authenticate the client.
Priority Gets and sets the current message priority.
RecentMessages Gets the number of messages which have recently arrived in the mailbox.
Recipients Gets the number of recipients specified in the current message.
RelayPort Gets and sets a value which specifies the relay server port number.
RelayServer Gets and sets a value which specifies the relay server name or address.
ReplyTo Gets and sets the address of the user who should receive replies to this message.
ReturnReceipt Gets and sets the address of the person who should receive a message indicating that the message has been read.
Secure Gets and sets a value which specifies if a secure connection is established.
SecureCipher Gets a value that specifies the encryption algorithm used for a secure connection.
SecureHash Gets a value that specifies the message digest algorithm used for a secure connection.
SecureKeyExchange Gets a value that specifies the key exchange algorithm used for a secure connection.
SecureProtocol Gets and sets a value which specifies the protocol used for a secure connection.
Sender Gets and sets the address of the user who originated the message.
ServerName Gets and sets a value which specifies the host name or address of the mail server.
ServerPort Gets and sets a value which specifies the remote port number.
ServerType Gets and sets a value which specifies the type of mail server the client is connecting to.
Subject Gets and sets the subject of the current message.
Subscribed Gets a value that specifies if the user has subscribed to the currently selected mailbox.
ThrowError Gets and sets a value which specifies if method calls should throw exceptions when an error occurs.
Timeout Gets and sets a value which specifies a timeout period in seconds.
TimeZone Gets and sets the current timezone offset in seconds.
To Gets and sets the address of the message recipient.
Trace Gets and sets a value which indicates if socket function tracing is enabled.
TraceFile Gets and sets a value which specifies the name of the client function tracing logfile.
TraceFlags Gets and sets a value which specifies the client function tracing flags.
UserName Gets and sets the username used to authenticate the client session.
Version Gets a value which returns the current version of the InternetMail class library.

Public Instance Methods

AppendMessage Append text to the body of the current message part.
AttachData Overloaded. Attach the contents of a byte array to the current message.
AttachFile Overloaded. Attach the specified file to the current message.
AttachThread Obsolete. Attach an instance of the class to the current thread.
Cancel Cancel the current blocking client operation.
ChangePassword Change the mailbox password for the current user.
CheckMailbox Create a checkpoint for the currently selected mailbox.
ClearMessage Clear the header and body of the current message.
ComposeMessage Overloaded. Compose a new mail message.
Connect Overloaded. Establish a connection with a mail server.
CopyMessage Copy a message from the current mailbox to another mailbox.
CreateMailbox Creates a new mailbox on the server.
CreateMessage Overloaded. Create a new message.
CreatePart Overloaded. Create a new message part in a multipart message.
DeleteHeader Overloaded. Delete a header field from the specified message part.
DeleteMailbox Overloaded. Deletes a mailbox from the server.
DeleteMessage Flags a message for deletion from the current mailbox.
DeletePart Delete the specified message part from the current message.
Disconnect Terminate the connection with the remote server.
Dispose Overloaded. Releases all resources used by InternetMail.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
ExportMessage Overloaded. Export the current message to a file on the local system.
ExtractFile Overloaded. Extract the contents of a file attachment and store it on the local system.
GetFirstHeader Return the first header in the current message part.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetHeader Overloaded. Return the value of a header field in the specified message part.
GetHeaders Overloaded. Retrieves the headers for the specified message from the server.
GetMessage Overloaded. Retrieve a message from the server and return the contents in a byte array.
GetNextHeader Return the next header in the current message part.
GetType (inherited from Object) Gets the Type of the current instance.
ImportMessage Replace the current message with the contents of a file.
Initialize Overloaded. Initialize an instance of the InternetMail class.
ParseAddress Overloaded. Parse an Internet email address.
ParseMessage Parse the specified string, adding the contents to the current message.
RenameMailbox Change the name of a mailbox.
ReselectMailbox Reselects the current mailbox.
Reset Reset the internal state of the object, resetting all properties to their default values.
SearchMailbox Overloaded. Search the current mailbox for messages that match the specified criteria and character set.
SelectMailbox Selects the specified mailbox for read-write access.
SendMessage Overloaded. Submit the specified message to a mail server for delivery.
SetHeader Overloaded. Set the value for a header in the specified message part.
StoreMessage Overloaded. Retrieve a message from the current mailbox and store it in a file on the local system.
SubscribeMailbox Overloaded. Subscribes the user to the specified mailbox.
ToString (inherited from Object) Returns a String that represents the current Object.
UndeleteMessage Removes the deletion flag for the specified message.
Uninitialize Uninitialize the class library and release any resources allocated for the current thread.
UnselectMailbox Overloaded. Unselects the current mailbox.
UnsubscribeMailbox Overloaded. Unsubscribes the user from the specified mailbox.

Public Instance Events

OnCancel Occurs when a blocking client operation is canceled.
OnDelivered Occurs when a message has been submitted for delivery.
OnError Occurs when an client operation fails.
OnProgress Occurs as a data stream is being read or written to the client.
OnRecipient Occurs when a message is about to be submitted for delivery.
OnTimeout Occurs when a blocking operation fails to complete before the timeout period elapses.

Protected Instance Methods

Dispose Overloaded. Releases the unmanaged resources allocated by the InternetMail class and optionally releases the managed resources.
Finalize Destroys an instance of the class, releasing the resources allocated for the current message.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

InternetMail Class | SocketTools Namespace