Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

current version specify api key value #22

Open
xeux opened this issue Oct 20, 2014 · 2 comments
Open

current version specify api key value #22

xeux opened this issue Oct 20, 2014 · 2 comments

Comments

@xeux
Copy link

xeux commented Oct 20, 2014

I installed and configured the bundle, then did I campaign create using the API and it showed up in mailchimp.com, but few hours later, I did it again and return code -100 specify apikey value.

@xeux
Copy link
Author

xeux commented Oct 20, 2014

Update, using acutes in "subject" and "from_name", also when in html I use a twig template and non one line html it breaks with this error.

Break example:

    $data = $mc->getCampaign()->create('regular', array(
        'list_id' => '123456',
        'subject' => 'Envío',
        'from_email' => '[email protected]',
        'from_name' => 'Bienes Raíces',
        'to_name' => 'fans'
    ), array(
        'html' => $this->getContainer()->get('templating')->render(
            'DemoBundle:Mail:email.html.twig',
            array('propiedades' => $propiedades)
        ),
        'sections' => array(),
        'text' => 'test',
        'url' => 'http://www.example.com',
        'archive' => 'test'
    ));

@xeux
Copy link
Author

xeux commented Oct 21, 2014

Update 2: html field works with multiple lines text, but breaks when using acutes and special chars or symbols, for example the special char of copyright ©, instead you should use the html version & copy ;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant