| MailTemplateControllerFormatSubject Method (MailTemplate, MailReceiver, DataObject, SqlConnection, SqlTransaction) |
Formats the mail subject to a specific receiver based on a template.
Namespace:
Omada.OE.AppLogic
Assembly:
Omada.OE.AppLogic (in Omada.OE.AppLogic.dll) Version: 15.0.0.0
Syntaxpublic static string FormatSubject(
MailTemplate template,
MailReceiver mailReceiver,
DataObject source,
SqlConnection dbConnection,
SqlTransaction dbTransaction
)
Parameters
- template
- Type: Omada.OE.ModelMailTemplate
The mail template - mailReceiver
- Type: Omada.OE.ModelMailReceiver
Mail receiver. - source
- Type: Omada.OE.ModelDataObject
Used as the source of the mail variabels. - dbConnection
- Type: System.Data.SqlClientSqlConnection
- dbTransaction
- Type: System.Data.SqlClientSqlTransaction
Return Value
Type:
String
See Also