Implementação simples da API MailChimp para inscrever o usuário
<?php/** * MailChimp API documentation: * http://apidocs.mailchimp.com/api/ */require_once ‘MCAPI.class.php’; # Download: http://apidocs.mailchimp.com/api/downloads/# Configuration$config = array( ‘apiKey’ => ‘API-KEY’, ‘listId’ => ‘LIST-ID’, ’email’ => $_POST[’email’],);# Error codes available at: http://apidocs.mailchimp.com/api/1.3/exceptions.field.php$errorCodes = …
Continuar lendo