nattreid/mailchimp

MailChimp for Nette Framework

1.2.16 2019-03-26 13:16 UTC

README

Nastavení v config.neon

extensions:
    smartEmailing: NAttreid\MailChimp\DI\MailChimpExtension

smartEmailing:
    apiKey: 'apiKey'
    listId: 'fs5f4s68e' # vychozi seznam pro ukladani kontaktu
    debug: true # default false
    store:
        id: 'storeId'
        name: 'storeName'
        domain: 'storeDomain'
        email: 'storeEmail'
        currency: 'storeCurrency'

Použití

/** @var \NAttreid\MailChimp\MailChimpClient @inject */
public $mailChimp;