 | EmailerSendETLMsg Method |
Sends Email with file attachment, can send log as well.
Namespace:
Koden.Utils.Emailer
Assembly:
Koden.Utils.Emailer (in Koden.Utils.Emailer.dll) Version: 1.0.6453.26061
Syntaxpublic void SendETLMsg(
string subject,
string body,
string[] attachments,
EmailMsgType msgType = EmailMsgType.ETLSuccess,
Exception ex = null
)
Public Sub SendETLMsg (
subject As String,
body As String,
attachments As String(),
Optional msgType As EmailMsgType = EmailMsgType.ETLSuccess,
Optional ex As Exception = Nothing
)
public:
virtual void SendETLMsg(
String^ subject,
String^ body,
array<String^>^ attachments,
EmailMsgType msgType = EmailMsgType::ETLSuccess,
Exception^ ex = nullptr
) sealed
abstract SendETLMsg :
subject : string *
body : string *
attachments : string[] *
?msgType : EmailMsgType *
?ex : Exception
(* Defaults:
let _msgType = defaultArg msgType EmailMsgType.ETLSuccess
let _ex = defaultArg ex null
*)
-> unit
override SendETLMsg :
subject : string *
body : string *
attachments : string[] *
?msgType : EmailMsgType *
?ex : Exception
(* Defaults:
let _msgType = defaultArg msgType EmailMsgType.ETLSuccess
let _ex = defaultArg ex null
*)
-> unit
Parameters
- subject
- Type: SystemString
The subject. - body
- Type: SystemString
The Message body. - attachments
- Type: SystemString
The attachments. - msgType (Optional)
- Type: Koden.Utils.ModelsEmailMsgType
Type of the message to send. - ex (Optional)
- Type: SystemException
The exception to parseif avail.
Implements
IEmailerSendETLMsg(String, String, String, EmailMsgType, Exception)
See Also