| Smtp Methods |
The Smtp type exposes the following members.
| Name | Description | |
|---|---|---|
| Abort |
Forces MailBee to cancel all pending operations and close all opened connections
as soon as possible.
| |
| AddAttachment |
Reads the specified file from disk and adds it as attachment to the message.
| |
| AddAttachmentAsync |
async/await version of AddAttachment(String).
| |
| AddJob(String, String, EmailAddressCollection) |
Puts an e-mail message onto waiting list for subsequent processing in bulk mode.
| |
| AddJob(String, MailMessage, String, EmailAddressCollection) |
Puts the specified e-mail message onto waiting list for subsequent processing in bulk mode.
| |
| AddJob(String, String, EmailAddressCollection, DataTable) |
Puts a "mail merge over database" job onto waiting list for subsequent processing in bulk mode.
| |
| AddJob(String, String, EmailAddressCollection, IDataReader) |
Puts a "mail merge over database" job onto waiting list for subsequent processing in bulk mode.
| |
| AddJob(String, String, Boolean, String, EmailAddressCollection) |
Puts the e-mail message stored in an .EML file onto waiting list for subsequent processing in bulk mode.
| |
| AddJob(String, String, EmailAddressCollection, IDataReader, Boolean, Boolean) |
Puts a "mail merge over data reader" job onto waiting list for subsequent processing in bulk mode.
| |
| AddJob(String, String, EmailAddressCollection, DataTable, Object, Boolean, Boolean) |
Puts a "mail merge over database" job onto waiting list for subsequent processing in bulk mode.
| |
| AuthPopBeforeSmtp |
Authenticates the user on a mail server using POP-before-SMTP authentication.
| |
| AuthPopBeforeSmtpAsync |
async/await version of AuthPopBeforeSmtp(String, Int32, String, String).
| |
| BeginAuthPopBeforeSmtp | Obsolete.
Begins an asynchronous request for a POP-before-SMTP authentication on a mail server.
| |
| BeginConnect | Obsolete.
Begins an asynchronous request for connecting to an SMTP server.
| |
| BeginDisconnect | Obsolete.
Begins an asynchronous request for a disconnection from the server.
| |
| BeginExecuteCustomCommand | Obsolete.
Begins an asynchronous request for sending the specified user-defined command to the server and getting the response.
| |
| BeginHello | Obsolete.
Begins an asynchronous request for sending initial greeting to the SMTP server.
| |
| BeginLogin | Obsolete.
Begins an asynchronous request for authenticating the user on the SMTP server.
| |
| BeginRelayFromEmlFile | Obsolete.
Begins an asynchronous request for relaying a mail message to recipients.
| |
| BeginSend | Obsolete.
Begins an asynchronous request for sending a mail message to recipients.
| |
| BeginSendJobs | Obsolete.
Begins an asynchronous request to process the pending jobs and send out the resulting e-mails.
| |
| BeginStartTls | Obsolete.
Begins an asynchronous request to start TLS/SSL negotiation with the server.
| |
| Connect |
Connects to an SMTP server.
| |
| ConnectAsync |
async/await version of Connect.
| |
| Disconnect |
Disconnects from the SMTP server and releases any used resources.
| |
| DisconnectAsync |
async/await version of Disconnect.
| |
| Dispose |
Closes opened network connections (if any) and releases any used system resources.
| |
| Dispose(Boolean) |
When overridden in a derived class, must release unmananged and optionally managed
resources used by the component.
| |
| EndAuthPopBeforeSmtp |
Ends the pending asynchronous request for POP-before-SMTP authentication on a mail server.
| |
| EndConnect |
Ends the pending asynchronous request for connecting to the SMTP server.
| |
| EndDisconnect |
Ends a pending asynchronous disconnection request.
| |
| EndExecuteCustomCommand |
Ends the pending asynchronous request for sending user-defined command to the server.
| |
| EndHello |
Ends the pending asynchronous request for sending a greeting to the SMTP server.
| |
| EndLogin |
Ends the pending asynchronous request for authenticating the user on the SMTP server.
| |
| EndRelayFromEmlFile |
Ends the pending asynchronous request for relaying the message to the recipients.
| |
| EndSend |
Ends the pending asynchronous request for sending the message to the recipients.
| |
| EndSendJobs |
Ends the pending asynchronous request for processing the pending jobs and
sending out the resulting e-mails.
| |
| EndStartTls |
Ends a pending asynchronous TLS/SSL negotiation request.
| |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| ExecuteCustomCommand |
Sends user-defined command to the server and receives the server response to this command.
| |
| ExecuteCustomCommandAsync |
async/await version of ExecuteCustomCommand(String).
| |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetAcceptedRecipients |
Returns the list of the recipients accepted by the SMTP server.
| |
| GetCurrentSmtpServerIndex |
Returns SmtpServers collection's index of the server to which
the component is connected or will connect on the next connection attempt.
| |
| GetErrorDescription |
Returns a textual description of the last error.
| |
| GetExtension |
Returns the name or parameters of the specified ESMTP capability.
| |
| GetExtensions |
Returns a reference to the key-value list of the server capabilities.
| |
| GetExtensionValue |
Returns the parameters of the specified ESMTP capability, or an empty string
if the capability has no parameters.
| |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetMaxMessageSize |
Returns the maximum length of the message (in bytes) which is allowed by
the SMTP server in order to accept the message from the client.
| |
| GetMXHosts |
Retrieves the list of hosts willing to accept mail for the given domain.
| |
| GetMXHostsAsync |
async/await version of GetMXHosts(String).
| |
| GetPtrData |
Retrieves the list of domain names for the specified IP address.
| |
| GetPtrDataAsync |
async/await version of GetPtrData(String).
| |
| GetRefusedRecipients |
Returns the list of the recipients rejected by the SMTP server.
| |
| GetServerResponse |
Returns the last response from the server.
| |
| GetServerResponseCode |
Returns an integer value containing the status code of the last SMTP operation.
| |
| GetSocket |
Returns the underlying Socket MailBee uses for the
current SMTP connection.
| |
| GetSocketError |
Returns a Win32 error code of the last socket-related error.
| |
| GetStream |
Returns the underlying Stream MailBee uses for the
current network connection.
| |
| GetSupportedAuthMethods |
Returns a set of flags indicating which authentication methods are supported by the server.
| |
| GetTxtData |
Retrieves the list of TXT strings of DNS data of the specified domain.
| |
| GetTxtDataAsync |
async/await version of GetTxtData(String).
| |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| Hello |
Sends initial greeting to the SMTP server.
| |
| HelloAsync |
async/await version of Hello.
| |
| Login |
Authenticates the user on the SMTP server if ESMTP authentication is enabled.
| |
| LoginAsync |
async/await version of Login.
| |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| Noop |
Sends a NOOP command to the server.
| |
| NoopAsync |
async/await version of Noop.
| |
| OnConnected |
Used by MailBee to raise Connected event.
| |
| OnDataReceived |
Used by MailBee to raise DataReceived event.
| |
| OnDataSent |
Used by MailBee to raise DataSent event.
| |
| OnDisconnected |
Used by MailBee to raise Disconnected event.
| |
| OnErrorOccurred |
Used by MailBee to raise ErrorOccurred event.
| |
| OnFinishingJob |
Used by MailBee to raise FinishingJob event.
| |
| OnHostResolved |
Used by MailBee to raise HostResolved event.
| |
| OnLoggedIn |
Used by MailBee to raise LoggedIn event.
| |
| OnLogNewEntry |
Used by MailBee to raise LogNewEntry event.
| |
| OnLowLevelDataReceived |
Used by MailBee to raise LowLevelDataReceived event.
| |
| OnLowLevelDataSent |
Used by MailBee to raise LowLevelDataSent event.
| |
| OnMergingMessage |
Used by MailBee to raise MergingMessage event.
| |
| OnMessageDataChunkSent |
Used by MailBee to raise MessageDataChunkSent event.
| |
| OnMessageDirectSendDone |
Used by MailBee to raise MessageDirectSendDone event.
| |
| OnMessageMXLookupDone |
Used by MailBee to raise MessageMXLookupDone event.
| |
| OnMessageNotSent |
Used by MailBee to raise MessageNotSent event.
| |
| OnMessageRecipientSubmitted |
Used by MailBee to raise MessageRecipientSubmitted event.
| |
| OnMessageSenderSubmitted |
Used by MailBee to raise MessageSenderSubmitted event.
| |
| OnMessageSent |
Used by MailBee to raise MessageSent event.
| |
| OnMessageSubmittedToPickupFolder |
Used by MailBee to raise MessageSubmittedToPickupFolder event.
| |
| OnMessageSubmittedToServer |
Used by MailBee to raise MessageSubmittedToServer event.
| |
| OnSendingMessage |
Used by MailBee to raise SendingMessage event.
| |
| OnSocketConnected |
Used by MailBee to raise SocketConnected event.
| |
| OnSocketCreating |
Used by MailBee to raise SocketCreating event.
| |
| OnSubmittingMessageToPickupFolder |
Used by MailBee to raise SubmittingMessageToPickupFolder event.
| |
| OnTlsStarted |
Used by MailBee to raise TlsStarted event.
| |
| OnTransientErrorOccurred |
Used by MailBee to raise TransientErrorOccurred event.
| |
| QuickSend(MailMessage) |
Sends a mail message, in a single line of code.
| |
| QuickSend(String, String, String, String) |
Sends a mail message, in a single line of code.
| |
| QuickSend(String, String, String, String, String, String, String) |
Sends a mail message, in a single line of code.
| |
| RelayFromEmlFile(String, String, EmailAddressCollection) |
Relays (sends without any modifications) the mail message previously saved as an .EML file,
to the specified recipients.
| |
| RelayFromEmlFile(String, String, String) |
Relays (sends without any modifications) the mail message previously saved as an .EML file,
to the specified recipients.
| |
| RelayFromEmlFileAsync(String, String, EmailAddressCollection) |
async/await version of RelayFromEmlFile(String, String, EmailAddressCollection).
| |
| RelayFromEmlFileAsync(String, String, String) |
async/await version of RelayFromEmlFile(String, String, String).
| |
| ResetMessage |
Resets all properties of Message object to defaults. Delivery Status
Notification settings (DeliveryNotification object) are also reset.
| |
| ResetState |
Resets the internal state of the component.
| |
| RetryFailedJobs |
Puts all failed send-mail jobs back into the queue.
| |
| Send |
Sends the mail message to the recipients specified in the message.
| |
| Send(String, EmailAddressCollection) |
Sends the mail message to the specified recipients.
| |
| Send(String, String) |
Sends the mail message to the specified recipients e-mail addresses.
| |
| SendAsync |
async/await version of Send.
| |
| SendAsync(String, EmailAddressCollection) |
async/await version of Send(String, EmailAddressCollection).
| |
| SendAsync(String, String) |
async/await version of Send(String, String).
| |
| SendJobs |
Sends out all e-mails in the pending jobs queue (including e-mails generated via mail merge).
| |
| SendJobsAsync |
async/await version of SendJobs.
| |
| SendMailMerge(String, EmailAddressCollection, DataTable) |
Creates a series of e-mails based on an e-mail message template and a data table
and sends these e-mails out.
| |
| SendMailMerge(String, EmailAddressCollection, IDataReader) |
Creates a series of e-mails based on an e-mail message template and a data reader
and sends these e-mails out.
| |
| SendMailMergeAsync(String, EmailAddressCollection, DataTable) |
async/await version of SendMailMerge(String, EmailAddressCollection, DataTable).
| |
| SendMailMergeAsync(String, EmailAddressCollection, IDataReader) |
async/await version of SendMailMerge(String, EmailAddressCollection, IDataReader).
| |
| StartTls |
Requests the mail server to start TLS/SSL negotiation and protect the existing connection with a security layer.
| |
| StartTlsAsync |
async/await version of StartTls.
| |
| StopJobs |
Notifies MailBee to stop processing jobs, completing sending out of all messages currently being processed.
| |
| SubmitJobsToPickupFolder |
Saves all e-mails in the pending jobs queue (including e-mails generated via mail merge)
as files in the pickup folder of MailBee.NET Queue or IIS SMTP service.
| |
| SubmitJobsToPickupFolderAsync |
async/await version of SubmitJobsToPickupFolder(String, Boolean).
| |
| SubmitToPickupFolder(String, Boolean) |
Saves the mail message as a file in the pickup folder of MailBee.NET Queue or IIS SMTP service.
| |
| SubmitToPickupFolder(String, String, String, EmailAddressCollection, Boolean) |
Saves the mail message as a file in the pickup folder of MailBee.NET Queue or IIS SMTP service.
| |
| SubmitToPickupFolder(String, String, String, String, Boolean) |
Saves the mail message as a file in the pickup folder of MailBee.NET Queue or IIS SMTP service.
| |
| SubmitToPickupFolderAsync(String, Boolean) |
async/await version of SubmitToPickupFolder(String, Boolean).
| |
| SubmitToPickupFolderAsync(String, String, String, EmailAddressCollection, Boolean) |
async/await version of SubmitToPickupFolder(String, String, String, EmailAddressCollection, Boolean).
| |
| SubmitToPickupFolderAsync(String, String, String, String, Boolean) |
async/await version of SubmitToPickupFolder(String, String, String, String, Boolean).
| |
| TestSend |
Tests sending a mail message to the recipients without actual submitting of the message
data.
| |
| TestSendAsync |
async/await version of TestSend(SendFailureThreshold).
| |
| ToString | Returns a string that represents the current object. (Inherited from Object.) | |
| ValidateEmailAddressSyntax |
Verifies if the specified string is a correctly formatted e-mail address.
| |
| Wait | Obsolete.
Waits until the currently running (if any) asynchronous method is finished.
| |
| Wait(Int32) | Obsolete.
Waits the completion of the currently running (if any) asynchronous method
for the specified amount of time.
|