I have coded some PHP scripts to create and send a newsletter using MailChimp API. Below the steps 1) First of all, I update a template with the products I want to include in the newsletter 2)I create a campaign 3)I attach the template content to the campaign 4)I send it
The issue happens when I attach the template content to the campaign. If I check for errors before to send the campaign (to double check that the template was attached correctly) I always get a timeout error, even if in reality by ignoring that error the campaign is sent without problems. Obviously, I can't just ignore the error. I want a reliable system to avoid sending empty emails.