C# Class Website.Mail

Datei anzeigen Open project: adlnet/3D-Repository

Public Methods

Method Description
IsValidEmail ( string email ) : bool

email checking routine

SendAccountUnlockedEmail ( string email ) : void

SendBulkEmail ( DataTable dt, string subject, string body, string emailColumnName, string senderCopyAddress, int bccRecipientsPerEmail ) : void

sends bulk emails to items in dt

SendContactUsEmail ( string firstName, string lastName, string email, string phone, string questionRelatesTo, string question ) : string

SendForgotPassword ( string email ) : void

SendModelUploaded ( vwarDAL co ) : void
SendNewRegistrationNotificationEmail ( System.Web.Security.MembershipUser newUser ) : void
SendRegistrationApprovalEmail ( string email ) : void

SendRegistrationConfirmation ( string email ) : void

SendReportViolationEmail ( string contentObjID, string contentObjectName, string description, string userEmail ) : void

SendSingleMessage ( string body, string toAddress, string subject, string fromAddress, string fromName, string bccAddress, string ccAddress, bool isHtmlFormat, string attachmentFileName ) : void

SendSupportRequest ( string toAddress, string ccEmailAddress, string subject, string domain, string email, string update, string category, string priority, string shortDescription, string status, string description ) : string

Private Methods

Method Description
SiteSignature ( ) : string

Method Details

IsValidEmail() public static method

email checking routine
public static IsValidEmail ( string email ) : bool
email string
return bool

SendAccountUnlockedEmail() public static method

public static SendAccountUnlockedEmail ( string email ) : void
email string
return void

SendBulkEmail() public static method

sends bulk emails to items in dt
public static SendBulkEmail ( DataTable dt, string subject, string body, string emailColumnName, string senderCopyAddress, int bccRecipientsPerEmail ) : void
dt System.Data.DataTable
subject string
body string
emailColumnName string
senderCopyAddress string
bccRecipientsPerEmail int
return void

SendContactUsEmail() public static method

public static SendContactUsEmail ( string firstName, string lastName, string email, string phone, string questionRelatesTo, string question ) : string
firstName string
lastName string
email string
phone string
questionRelatesTo string
question string
return string

SendForgotPassword() public static method

public static SendForgotPassword ( string email ) : void
email string
return void

SendModelUploaded() public static method

public static SendModelUploaded ( vwarDAL co ) : void
co vwarDAL
return void

SendNewRegistrationNotificationEmail() public static method

public static SendNewRegistrationNotificationEmail ( System.Web.Security.MembershipUser newUser ) : void
newUser System.Web.Security.MembershipUser
return void

SendRegistrationApprovalEmail() public static method

public static SendRegistrationApprovalEmail ( string email ) : void
email string
return void

SendRegistrationConfirmation() public static method

public static SendRegistrationConfirmation ( string email ) : void
email string
return void

SendReportViolationEmail() public static method

public static SendReportViolationEmail ( string contentObjID, string contentObjectName, string description, string userEmail ) : void
contentObjID string
contentObjectName string
description string
userEmail string
return void

SendSingleMessage() public static method

public static SendSingleMessage ( string body, string toAddress, string subject, string fromAddress, string fromName, string bccAddress, string ccAddress, bool isHtmlFormat, string attachmentFileName ) : void
body string
toAddress string
subject string
fromAddress string
fromName string
bccAddress string
ccAddress string
isHtmlFormat bool
attachmentFileName string
return void

SendSupportRequest() public static method

public static SendSupportRequest ( string toAddress, string ccEmailAddress, string subject, string domain, string email, string update, string category, string priority, string shortDescription, string status, string description ) : string
toAddress string
ccEmailAddress string
subject string
domain string
email string
update string
category string
priority string
shortDescription string
status string
description string
return string