Class SendMailQueueArgument
Argument for processing mail used by SendMailQueueProcessor and SendMailQueue.
Namespace: SuperOffice.CRM.Mail
Assembly: SoDataBase.dll
Syntax
public class SendMailQueueArgument : Object
Constructors
SendMailQueueArgument(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, Boolean, String, String, String, Boolean, String, 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 | |
Boolean | smtpSSL | |
String | imapServer | |
String | imapUser | |
String | imapPassword | |
Boolean | imapSSL | |
String | sentFolder | |
MailItem[] |
See Also
SendMailQueueArgument(String, String, String, String, String, String, String, 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
ImapServer
Name with optional port for the IMAP server.
Declaration
public string ImapServer { 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 |
---|---|
Boolean |
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 |
---|---|
Boolean |
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
SmtpServer
Name with optional port for SMTP servers.
Declaration
public string SmtpServer { 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 |
---|---|
Boolean |
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 |