Click or drag to resize
NewsletterHelperGetContactInfo Method
Returns contact related with subscriber. If there is no known relation between contact and subscriber, returns contact with the same email. In this case, if there is more contacts with the same email, selects the one with last logged activity.

Namespace: CMS.Newsletters
Assembly: CMS.Newsletters (in CMS.Newsletters.dll) Version: 10.0.0
Syntax
C#
public static ContactInfo GetContactInfo(
	SubscriberInfo subscriber
)

Parameters

subscriber
Type: CMS.NewslettersSubscriberInfo
Subscriber info

Return Value

Type: ContactInfo
Contact info related to subscriber
Exceptions
ExceptionCondition
ArgumentNullExceptionsubscriber is null
See Also