4. MM Session

4.1. dyn.mm.session module

This module implements an interface to a DynECT REST Session. It provides easy access to all other functionality within the dynect library via methods that return various types of DynECT objects which will provide their own respective functionality.

class dyn.mm.session.MMSession(apikey, host='emailapi.dynect.net', port=443, ssl=True)[source]

Base object representing a Message Management API Session

__init__(apikey, host='emailapi.dynect.net', port=443, ssl=True)[source]

Initialize a Dynect Rest Session object and store the provided credentials

Parameters:
  • host – DynECT API server address
  • port – Port to connect to DynECT API server
  • ssl – Enable SSL
  • apikey – your unique Email API key
uri_root = '/rest/json'