TypedMapperSend Method (String, String, NameValueCollection, MessageRelationships) |
Simple way to send a message using this mapper and a template. The mapper sets up the message, the relationships,
and creates the template data appropriate from the current row before sending.
Namespace:
NetQuarry.Data
Assembly:
EAP.Mapper (in EAP.Mapper.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax public void Send(
string to,
string templateName,
NameValueCollection templateData,
MessageRelationships relationships
)
Public Sub Send (
to As String,
templateName As String,
templateData As NameValueCollection,
relationships As MessageRelationships
)
Parameters
- to
- Type: SystemString
The email address or addresses. - templateName
- Type: SystemString
The name of the template to use when sending. - templateData
- Type: System.Collections.SpecializedNameValueCollection
The name/value data to use in the template expansion. - relationships
- Type: NetQuarry.MailMessageRelationships
A collection of message relationships to use with message logging.
See Also