Class Email
- Namespace
- JJMasterData.Commons.Util
- Assembly
- JJMasterData.Commons.dll
public static class Email
- Inheritance
-
Email
- Inherited Members
-
Methods
SendMail(string, string, string, string, string, bool)
public static bool SendMail(string toEmail, string ccEmail, string ccoEmail, string subject, string body, bool IsBodyHtml)
Parameters
toEmail
string
ccEmail
string
ccoEmail
string
subject
string
body
string
IsBodyHtml
bool
Returns
- bool
SendMail(string, string, string, string, string, bool, List<Attachment>)
public static bool SendMail(string toEmail, string ccEmail, string ccoEmail, string subject, string body, bool IsBodyHtml, List<Attachment> listAttach)
Parameters
toEmail
string
ccEmail
string
ccoEmail
string
subject
string
body
string
IsBodyHtml
bool
listAttach
List<Attachment>
Returns
- bool
SendMail(string, string, string, string, string, bool, string)
public static bool SendMail(string toEmail, string ccEmail, string ccoEmail, string subject, string body, bool IsBodyHtml, string filePath)
Parameters
toEmail
string
ccEmail
string
ccoEmail
string
subject
string
body
string
IsBodyHtml
bool
filePath
string
Returns
- bool
SendMail(string, string, string, string, string, bool, string, string)
public static bool SendMail(string toEmail, string ccEmail, string ccoEmail, string subject, string body, bool IsBodyHtml, string fileContent, string fileName)
Parameters
toEmail
string
ccEmail
string
ccoEmail
string
subject
string
body
string
IsBodyHtml
bool
fileContent
string
fileName
string
Returns
- bool
SendMailConfig(string, string, string, string, string, bool, List<Attachment>, ConfigSmtp)
public static bool SendMailConfig(string toEmail, string ccEmail, string ccoEmail, string subject, string body, bool IsBodyHtml, List<Attachment> listAttach, ConfigSmtp smtpconfig)
Parameters
toEmail
string
ccEmail
string
ccoEmail
string
subject
string
body
string
IsBodyHtml
bool
listAttach
List<Attachment>
smtpconfig
ConfigSmtp
Returns
- bool
SendMailConfig(string, string, string, string, string, bool, string, string)
public static bool SendMailConfig(string toEmail, string ccEmail, string ccoEmail, string subject, string body, bool IsBodyHtml, string filePath, string smtpconfig)
Parameters
toEmail
string
ccEmail
string
ccoEmail
string
subject
string
body
string
IsBodyHtml
bool
filePath
string
smtpconfig
string
Returns
- bool