Show / Hide Table of Contents

Class SendMailQueueArgument

Argument for processing mail used by SendMailQueueProcessor and SendMailQueue.

Inheritance
Object
SendMailQueueArgument
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: SuperOffice.CRM.Mail
Assembly: SoDataBase.dll
Syntax
public class SendMailQueueArgument

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
SuperOffice.CRM.Mail.MailItem[] mail

Emails to send.

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
SuperOffice.CRM.Mail.MailItem[] mail

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
SuperOffice.CRM.Mail.MailItem[] mail

Properties

ImapPassword

Password for the IMAP server.

Declaration
public string ImapPassword { get; set; }
Property Value
Type Description
String

ImapServer

Name with optional port for the IMAP server.

Declaration
public string ImapServer { get; set; }
Property Value
Type Description
String

ImapSSL

Should we use a secure connection for the IMAP server

Declaration
public bool ImapSSL { get; set; }
Property Value
Type Description
Boolean

ImapUser

User name for the IMAP server.

Declaration
public string ImapUser { get; set; }
Property Value
Type Description
String

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

Mail

E-mails to send.

Declaration
public MailItem[] Mail { get; }
Property Value
Type Description
SuperOffice.CRM.Mail.MailItem[]

SentFolder

Sent folder override

Declaration
public string SentFolder { get; set; }
Property Value
Type Description
String

SmtpPassword

Password to use when authenticating against SMTP server.

Declaration
public string SmtpPassword { get; set; }
Property Value
Type Description
String

SmtpServer

Name with optional port for SMTP servers.

Declaration
public string SmtpServer { get; set; }
Property Value
Type Description
String

SmtpSSL

Should we use a secure connection for SMTP server

Declaration
public bool SmtpSSL { get; set; }
Property Value
Type Description
Boolean

SmtpUser

User name to use when authenticating against SMTP server.

Declaration
public string SmtpUser { get; set; }
Property Value
Type Description
String

Methods

ToString()

Brief information about the first mail in Mail to be sent

Declaration
public override string ToString()
Returns
Type Description
String
Overrides
Object.ToString()

Extension Methods

EnumUtil.MapEnums<From, To>(From)
Converters.MapEnums<From, To>(From)

See Also

SoMail
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Back to top