"Campaign is currently being sent and can not be sent again until it has finished."

10 views
Skip to first unread message

amro

unread,
Jul 1, 2009, 4:24:53 PM7/1/09
to MailChimp API Discuss
Hi folks,

We currently use API version 1.2 and are having problems sending
messages. We run two instances of our app, one on our production box
and one on a qa box. When sending activation emails we get the
following error:

"This Campaign is currently being sent and can not be sent again until
it has finished."

I have a few questions:
- Does MailChimp queue requests to send campaigns? I ask because our
app may have a lot of users registering at approximately the same time
and it's decidedly undesirable for any of those users to not receive
their welcome/activation email because of an existing open request to
send another email.

- Is it possible that the campaign itself is somehow "stuck" in the
sending state and will not allow me to send additional messages
because of that?

I'm happy to provide any other pertinent details. Thanks in advance.

jesse

unread,
Jul 1, 2009, 4:48:50 PM7/1/09
to MailChimp API Discuss
We don't fully queue transactional emails, but the sending process is
locked down such that only one campaignSendNow() call can happen at
once. That is necessary to prevent duplicates from being sent.

Are you receiving that message consistently or just occassionally when
calls are made on top of each other? In other words, are emails still
sending?

It is possible for a campaign to get stuck, but it doesn't happen very
often. If you've been getting that for a while and no emails are going
out, send me your MailChimp username and the campaign id off-list and
I can take a look.

If emails are still sending, there's not too much to worry about.
Either the blocking call picked up the subscribe you just did or the
next call to campaignSendNow() will send that email.

jesse

jesse

unread,
Jul 2, 2009, 10:40:28 AM7/2/09
to MailChimp API Discuss
Thanks for sending in your campaign details. That was, indeed, stuck.
I've fixed that, so the campaign will send properly now.

I also dug around to figure out why it stuck and as a result have put
a patch in to reset Transactional campaigns after 10 minutes in the
event they get stuck.


jesse

amro

unread,
Jul 2, 2009, 12:34:18 PM7/2/09
to MailChimp API Discuss
Thanks for the rock star effort and help, Jesse. We very much
appreciate it.

amro

unread,
Jul 2, 2009, 3:02:34 PM7/2/09
to MailChimp API Discuss
Hey Jesse, It looks like it's stuck again. Is there something I might
be doing that might cause this? (I understand it will reset on its own
shortly and that's fine). Thanks.

jesse

unread,
Jul 2, 2009, 3:10:01 PM7/2/09
to MailChimp API Discuss
That wasn't stuck - I can see in the API logs that you had 2
overlapping calls to campaignSendNow() which caused you to receive
that error message.

In case you weren't aware, you can see your calls here in your API
dashboard here:
http://admin.mailchimp.com/account/api


jesse

amro

unread,
Jul 2, 2009, 3:15:30 PM7/2/09
to MailChimp API Discuss
got it, makes sense. thanks for the link.

Greg Harris

unread,
Jul 3, 2009, 3:45:30 AM7/3/09
to mailchimp-...@googlegroups.com
Hi,

It seems that the alert email is not being received when users subscribe
to our mailing list via our subscription form.

We've used an API call (listSubscribe()) to perform the subscription as
there were a number of design issues with the form that meant this was
pretty much the only way to do it.

Is the fact that we are using the API stopping the alert mails from
being sent out?

I've done all the usual trying different email addresses, checking spam
filters etc malarkey with no joy - hence my suspicion.

Can anyone confirm this please?

Cheers!

Greg

obfuscode

unread,
Jul 3, 2009, 9:49:59 AM7/3/09
to MailChimp API Discuss
Hey Greg,

Please create a new topic if you're reply isn't related to the current
topic.

I just tested a number of different integrations of our listSubscribe
by API and I receive the confirmation emails just fine.

Make sure you're not setting the "double_optin" value to false as that
will disable the confirmation emails.

- Jace

Greg Harris

unread,
Jul 3, 2009, 10:03:51 AM7/3/09
to mailchimp-...@googlegroups.com
Hi,

Sorry - I didn't mean that the subscriber doesn't receive an email
(you're right we have double_optin turned off), I meant that our client
(who's newsletter it is) isn't being alerted when someone new has
subscribed.

If/when someone unsubscribes then an email is sent with the details of
the person who has unsubscribed, however although entering the same
email address we are not reciving confirmation of a subscription.

This shouldn't be tied in to the optin process surely?

Cheers!

Greg
--
-------------------------------------------------------------------------

Greg Harris - Edit Studios Ltd
Website Design & Development

(t): 0161 408 0988
(m): 07775 576 221
(e): gr...@edit-studios.com
(w): http://www.edit-studios.com

-------------------------------------------------------------------------

Registered Name: Edit Studios Limited
Registered Address: 2 Mount Parade, Harrogate, HG1 1BX
Registered in England: 4136319

-------------------------------------------------------------------------

jesse

unread,
Jul 3, 2009, 10:20:38 AM7/3/09
to MailChimp API Discuss
Greg -
Yes, the notification emails are tied into the optin process.
Basically once you stop using our opt-in process, you are expected to
be using your own process that is tailored to your needs.
Unsubscribing via your list's list-manage.com domain uses our normal
services, which is why the emails are sent.

The listUnsubscribe() method does allow you to control the
notifications, though mainly b/c it has no knowledge of whether you
are using out optin process.


jesse
> (e): g...@edit-studios.com

obfuscode

unread,
Jul 3, 2009, 10:21:02 AM7/3/09
to MailChimp API Discuss
Greg,

The listUnsubscribe function has an option for "send_notify" which
emails the list owner notifying them of the unsubscribe.
listSubscribe does not offer this feature so receiving an email alert
is not an option unless you use webhooks.

http://www.mailchimp.com/api/webhooks/

- Jace
> (e): g...@edit-studios.com
Reply all
Reply to author
Forward
0 new messages