IContactProviderGetContactForSubscribing Method (String, String, String) |
Gets contact associated with email.
When contact doesn't exist, contact is created and inserted to database.
Namespace: CMS.NewslettersAssembly: CMS.Newsletters (in CMS.Newsletters.dll) Version: 12.0.0
Syntax ContactInfo GetContactForSubscribing(
string email,
string firstName = null,
string lastName = null
)
Parameters
- email
- Type: SystemString
Email used to get or update contact. - firstName (Optional)
- Type: SystemString
First name used to update contact. - lastName (Optional)
- Type: SystemString
Last name used to update contact.
Return Value
Type:
ContactInfoRetrieved contact.
See Also