suppression_pkg

package
v5.0.1+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 28, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SUPPRESSION

type SUPPRESSION interface {
	AddDomainOrEmailToSuppressionList(*models_pkg.AddEmailOrDomainToSuppressionList) (interface{}, error)

	RemoveDomainOrEmailToSuppressionList(*models_pkg.RemoveEmailOrDomainToSuppressionList) (interface{}, error)
}

* Interface for the SUPPRESSION_IMPL

type SUPPRESSION_IMPL

type SUPPRESSION_IMPL struct {
	// contains filtered or unexported fields
}

* Client structure as interface implementation

func NewSUPPRESSION

func NewSUPPRESSION(config configuration_pkg.CONFIGURATION) *SUPPRESSION_IMPL

* Factory for the SUPPRESSION interaface returning SUPPRESSION_IMPL

func (*SUPPRESSION_IMPL) AddDomainOrEmailToSuppressionList

func (me *SUPPRESSION_IMPL) AddDomainOrEmailToSuppressionList(
	body *models_pkg.AddEmailOrDomainToSuppressionList) (interface{}, error)

*

  • This API allows you to suppress an email address and block any future email delivery attempts on this email address.
  • @param *models_pkg.AddEmailOrDomainToSuppressionList body parameter: Required
  • @return Returns the interface{} response from the API call

func (*SUPPRESSION_IMPL) RemoveDomainOrEmailToSuppressionList

func (me *SUPPRESSION_IMPL) RemoveDomainOrEmailToSuppressionList(
	body *models_pkg.RemoveEmailOrDomainToSuppressionList) (interface{}, error)

*

  • Use this API to remove an email address or a recipient domain from the suppression list. You can remove multiple email addresses and recipient domains together by passing them as values & separating them using commas as shown below.
  • @param *models_pkg.RemoveEmailOrDomainToSuppressionList body parameter: Required
  • @return Returns the interface{} response from the API call

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL