There are two different functions for adding subscribers. Specifically:

function govdelivery_queued_subscribe($item) {

function govdelivery_subscribe($list_code, $email, $from_queue = FALSE) {

The result of this is that the queue messages setting is ignored because the calling function/module must hard-code a decision to use queued or non-queued messages. More challenging the mis-match in arguments means they aren't directly interchangeable.

Comments

ben.bunk’s picture

Status: Active » Closed (works as designed)

The queued_subscribe function is intended for internal use only by the queue processor. The third parameter is typically only set to true if the caller intends to handle errors independently otherwise the parameter should be set to false and the message will be queued on error.