Method | Description | |
---|---|---|
DoWork ( ) : void |
Sends all queued emails
|
|
EmailScheduler ( DotNetNuke.Services.Scheduling.ScheduleHistoryItem objScheduleHistoryItem ) : System |
Initializes a new instance of the EmailScheduler class.
|
|
SendMail ( string from, string to, string cc, string bcc, string replyTo, DotNetNuke priority, string subject, MailFormat bodyFormat, |
Sends an email message. This is a modified version of the DNN Core's Mail.SendMail(string,string,string,string,DotNetNuke.Services.Mail.MailPriority,string,DotNetNuke.Services.Mail.MailFormat,System.Text.Encoding,string,string[],string,string,string,string,bool) method. It does not provide a |
Method | Description | |
---|---|---|
GetValueOrHostSetting ( string settingValue, string settingName ) : string |
Gets the value or host setting for the SMTP server configuration.
|
public EmailScheduler ( DotNetNuke.Services.Scheduling.ScheduleHistoryItem objScheduleHistoryItem ) : System | ||
objScheduleHistoryItem | DotNetNuke.Services.Scheduling.ScheduleHistoryItem | The obj schedule history item. |
return | System |
public static SendMail ( string from, string to, string cc, string bcc, string replyTo, DotNetNuke priority, string subject, MailFormat bodyFormat, |
||
from | string | The email address from which the email is being sent. |
to | string | The email address(es) to which the email is being sent. |
cc | string | The email address(es) on the carbon copy line. |
bcc | string | The email address(es) on the blind carbon copy line. |
replyTo | string | The email address to which replies should be directed, if not |
priority | DotNetNuke | The priority of the email message. |
subject | string | The subject of the email message. |
bodyFormat | MailFormat | The format of |
bodyEncoding | The encoding of |
|
body | string | The body of the email message. |
attachments | string | A list of the text to include with this email message as an attachment named "Appointment.ics". |
smtpServer | string | The SMTP server to use to send the email, if not the server defined in the Host Settings of the website. |
smtpAuthentication | string | The SMTP authentication type to use to send the email, if not the type defined in the Host Settings of the website. |
smtpUserName | string | The SMTP username to use to send the email, if not the username defined in the Host Settings of the website. |
smtpPassword | string | The SMTP password to use to send the email, if not the password defined in the Host Settings of the website. |
smtpEnableSsl | bool | if set to |
return | string |