Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Development Tools MailChimp API MailChimp API Adding New Members to Your List

charles sancy
charles sancy
5,479 Points

POST is successful but no email.

I am posting successfully using curl but I am not receiving an email as indicated in the video to confirm. I've checked my spam folder and that does not seem to be the issue.

2 Answers

You have to be on a live server or special configuration on your local server in order to actually get the email. Most likely your local environment does not support it. Workspaces does not send email.

charles sancy
charles sancy
5,479 Points

Thanks for the answer Ted. I am not on Workspaces I am following along in my own terminal. How can I make my local environment support getting the email?

Please note that the email is suppose to be sent by Mailchimp to the account I registered under, so I am not sure I understand why I would need a special configuration.

I am far from an expert in email and local servers. The local environment has to be set up to tell MailChimp to send. I don't know how to do that, but you could probably find it with a google search.

Nate Ranson
STAFF
Nate Ranson
Treehouse Guest Teacher

Hey Charles --

It could also depend on what the status of the subscriber was set as. To get the confirmation email, you'll want to make sure that the subscriber's status is set to "pending". You can also check your MailChimp list in the app to make sure they didn't get automatically subscribed, just in case. :)