NewslettersActivityLoggerLogNewsletterSubscribingActivity Method |
Logs subscribtion to newsletter activity.
Namespace: CMS.NewslettersAssembly: CMS.Newsletters (in CMS.Newsletters.dll) Version: 11.0.0
Syntax public void LogNewsletterSubscribingActivity(
NewsletterInfo newsletter,
Nullable<int> subscriberID = null,
Nullable<int> contactId = null
)
Parameters
- newsletter
- Type: CMS.NewslettersNewsletterInfo
Newsletter subscriber subscribed to - subscriberID (Optional)
- Type: SystemNullableInt32
Specifies ID of the subscriber the activity is logged for - contactId (Optional)
- Type: SystemNullableInt32
If set overrides ActivityContactID of activity
Exceptions See Also