Class SendMailQueueArgument
Argument for processing mail used by SendMailQueueProcessor and SendMailQueue.
Inherited Members
Namespace: SuperOffice.CRM.Mail
Assembly: SoDataBase.BusinessLogic.dll
Syntax
public class SendMailQueueArgument
Constructors
SendMailQueueArgument(params MailItem[])
Default constructor used when configuration from mail system is fetched from configured values.
Declaration
public SendMailQueueArgument(params MailItem[] mail)
Parameters
| Type | Name | Description |
|---|---|---|
| MailItem[] | Emails to send. |
See Also
SendMailQueueArgument(string, string, string, bool, string, string, string, bool, string, params MailItem[])
Constructor used for creating parameters for mail processing carried out by SendMailQueueProcessor and SendMailQueue.
Declaration
public SendMailQueueArgument(string smtpServer, string smtpUser, string smtpPassword, bool smtpSSL, string imapServer, string imapUser, string imapPassword, bool imapSSL, string sentFolder, params MailItem[] mail)
Parameters
| Type | Name | Description |
|---|---|---|
| string | smtpServer | |
| string | smtpUser | |
| string | smtpPassword | |
| bool | smtpSSL | |
| string | imapServer | |
| string | imapUser | |
| string | imapPassword | |
| bool | imapSSL | |
| string | sentFolder | |
| MailItem[] |
See Also
SendMailQueueArgument(string, string, string, string, string, string, string, params MailItem[])
Constructor used for creating parameters for mail processing carried out by SendMailQueueProcessor and SendMailQueue.
Declaration
public SendMailQueueArgument(string smtpServer, string smtpUser, string smtpPassword, string imapServer, string imapUser, string imapPassword, string sentFolder, params MailItem[] mail)
Parameters
| Type | Name | Description |
|---|---|---|
| string | smtpServer | |
| string | smtpUser | |
| string | smtpPassword | |
| string | imapServer | |
| string | imapUser | |
| string | imapPassword | |
| string | sentFolder | |
| MailItem[] |
See Also
Properties
ImapPassword
Password for the IMAP server.
Declaration
public string ImapPassword { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
See Also
ImapSSL
Should we use a secure connection for the IMAP server
Declaration
public bool ImapSSL { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
See Also
ImapServer
Name with optional port for the IMAP server.
Declaration
public string ImapServer { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
See Also
ImapUser
User name for the IMAP server.
Declaration
public string ImapUser { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
See Also
IsValid
Get if the arguments are valid for sending and archiving mails in the sent items folder.
Declaration
public bool IsValid { get; }
Property Value
| Type | Description |
|---|---|
| bool |
See Also
E-mails to send.
Declaration
public MailItem[] Mail { get; }
Property Value
| Type | Description |
|---|---|
| MailItem[] |
See Also
SentFolder
Sent folder override
Declaration
public string SentFolder { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
See Also
SmtpPassword
Password to use when authenticating against SMTP server.
Declaration
public string SmtpPassword { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
See Also
SmtpSSL
Should we use a secure connection for SMTP server
Declaration
public bool SmtpSSL { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
See Also
SmtpServer
Name with optional port for SMTP servers.
Declaration
public string SmtpServer { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
See Also
SmtpUser
User name to use when authenticating against SMTP server.
Declaration
public string SmtpUser { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
See Also
Methods
ToString()
Brief information about the first mail in Mail to be sent
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string |