Show / Hide Table of Contents

Class SendTokenizedBulkEmail

Inheritance
object
SendTokenizedBulkEmail
Implements
IDisposable
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: DotNetNuke.Services.Mail
Assembly: DotNetNuke.dll
Syntax
public class SendTokenizedBulkEmail : IDisposable

Constructors

SendTokenizedBulkEmail()

Declaration
public SendTokenizedBulkEmail()

SendTokenizedBulkEmail(List<string>, List<UserInfo>, bool, string, string)

Declaration
public SendTokenizedBulkEmail(List<string> addressedRoles, List<UserInfo> addressedUsers, bool removeDuplicates, string subject, string body)
Parameters
Type Name Description
List<string> addressedRoles
List<UserInfo> addressedUsers
bool removeDuplicates
string subject
string body

Properties

AddressMethod

Declaration
public SendTokenizedBulkEmail.AddressMethods AddressMethod { get; set; }
Property Value
Type Description
SendTokenizedBulkEmail.AddressMethods

Body

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

BodyFormat

Declaration
public MailFormat BodyFormat { get; set; }
Property Value
Type Description
MailFormat

LanguageFilter

Declaration
public string[] LanguageFilter { get; set; }
Property Value
Type Description
string[]

PortalAlias

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

Priority

Declaration
public MailPriority Priority { get; set; }
Property Value
Type Description
MailPriority

RelayEmailAddress

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

RemoveDuplicates

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

ReplyTo

Declaration
public UserInfo ReplyTo { get; set; }
Property Value
Type Description
UserInfo

ReportRecipients

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

SendingUser

Declaration
public UserInfo SendingUser { get; set; }
Property Value
Type Description
UserInfo

Subject

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

SuppressTokenReplace

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

Methods

AddAddressedRole(string)

Declaration
public void AddAddressedRole(string roleName)
Parameters
Type Name Description
string roleName

AddAddressedUser(UserInfo)

Declaration
public void AddAddressedUser(UserInfo recipient)
Parameters
Type Name Description
UserInfo recipient

AddAttachment(Stream, ContentType)

Declaration
public void AddAttachment(Stream contentStream, ContentType contentType)
Parameters
Type Name Description
Stream contentStream
ContentType contentType

AddAttachment(string)

Declaration
public void AddAttachment(string localPath)
Parameters
Type Name Description
string localPath

Dispose()

Declaration
public void Dispose()

Dispose(bool)

Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type Name Description
bool disposing

~SendTokenizedBulkEmail()

Declaration
protected ~SendTokenizedBulkEmail()

Recipients()

Declaration
public List<UserInfo> Recipients()
Returns
Type Description
List<UserInfo>

Send()

Declaration
public void Send()

SendMails()

Declaration
public int SendMails()
Returns
Type Description
int

SetSMTPServer(string, string, string, string, bool)

Declaration
public bool SetSMTPServer(string smtpServer, string smtpAuthentication, string smtpUsername, string smtpPassword, bool smtpEnableSSL)
Parameters
Type Name Description
string smtpServer
string smtpAuthentication
string smtpUsername
string smtpPassword
bool smtpEnableSSL
Returns
Type Description
bool

Implements

IDisposable

Extension Methods

JsonExtensionsWeb.ToJson(object)
Back to top by the community, for the community... #DNNCMS