C# Class NewsletterStudioContrib.BounceManagement.NewsletterBounceHelper

This helper demonstrates how to add new bounces to Newsletter Studio using code. This might be a API that will be merged into the core in the future if we see this demand.
Mostra file Open project: enkelmedia/NewsletterStudioContrib

Public Methods

Method Description
AddNewHardBounce ( List emails, string message = "BounceHandler: Hard Bounce" ) : void
AddNewHardBounce ( string email, string message = "BounceHandler: Hard Bounce" ) : void

Adds a new bounce to the Newsletter Studio data and sets the subscriber as bounced.

Method Details

AddNewHardBounce() public method

public AddNewHardBounce ( List emails, string message = "BounceHandler: Hard Bounce" ) : void
emails List
message string
return void

AddNewHardBounce() public method

Adds a new bounce to the Newsletter Studio data and sets the subscriber as bounced.
public AddNewHardBounce ( string email, string message = "BounceHandler: Hard Bounce" ) : void
email string The e-mail ([email protected]) that has bounced
message string Error message that will be displayed for the user in the UI
return void