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.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[] mail

Emails to send.

See Also
SoMail

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[] mail
See Also
SoMail

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[] mail
See Also
SoMail

Properties

ImapPassword

Password for the IMAP server.

Declaration
public string ImapPassword { get; set; }
Property Value
Type Description
string
See Also
SoMail

ImapSSL

Should we use a secure connection for the IMAP server

Declaration
public bool ImapSSL { get; set; }
Property Value
Type Description
bool
See Also
SoMail

ImapServer

Name with optional port for the IMAP server.

Declaration
public string ImapServer { get; set; }
Property Value
Type Description
string
See Also
SoMail

ImapUser

User name for the IMAP server.

Declaration
public string ImapUser { get; set; }
Property Value
Type Description
string
See Also
SoMail

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
SoMail

Mail

E-mails to send.

Declaration
public MailItem[] Mail { get; }
Property Value
Type Description
MailItem[]
See Also
SoMail

SentFolder

Sent folder override

Declaration
public string SentFolder { get; set; }
Property Value
Type Description
string
See Also
SoMail

SmtpPassword

Password to use when authenticating against SMTP server.

Declaration
public string SmtpPassword { get; set; }
Property Value
Type Description
string
See Also
SoMail

SmtpSSL

Should we use a secure connection for SMTP server

Declaration
public bool SmtpSSL { get; set; }
Property Value
Type Description
bool
See Also
SoMail

SmtpServer

Name with optional port for SMTP servers.

Declaration
public string SmtpServer { get; set; }
Property Value
Type Description
string
See Also
SoMail

SmtpUser

User name to use when authenticating against SMTP server.

Declaration
public string SmtpUser { get; set; }
Property Value
Type Description
string
See Also
SoMail

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()
See Also
SoMail

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 |  Contribute |  Back to top