{if $formSubmitted}
{if $submitResult.name == 'pause'} {if $submitResult.status} {"Message successfully paused."|i18n} {else} {"Message was NOT paused. Possible reason is that message could not be found."|i18n} {/if} {elseif $submitResult.name == 'stop'} {if $submitResult.status} {"Message successfully stopped."|i18n} {else} {"Message was NOT stopped. Possible reason is that message could not be found."|i18n} {/if} {/if}
{/if} {* *}

{"Message Queue"|i18n}

{"Launch Sending Monitor"|i18n} ({"Cron Emulator"|i18n})

{include file="messages_queue.inc.tpl.htm"}
{if $list.a_rq == 1}


{"Why does my message stall & how can I prevent stalling?"|i18n}    {"How can I manually start a stalled message?"|i18n}
{if $mesg == 1}
{"A messages sending can stall for a number of reasons:"|i18n}

{"Server timeout, overload, etc..."|i18n}
{"To prevent and eliminate stalling, you should setup the cronjobs per cron_setup.txt."|i18n} {"If you are on a windows machine or other machine that does not support cronjobs you would have to setup a scheduled task or cron emulator torun certain files as often as cron_setup.txt suggests."|i18n}

{"If you are unable to setup cronjobs:"|i18n}
{"Click on "Launch Sending Monitor" in the upper right of this page."|i18n} {"This will launch a small popup that will monitor the sending progress and emulate the cronjob."|i18n}

{"I have the cronjob setup but sending does not resume!"|i18n}
{"Your cronjob is likely not setup correctly."|i18n} {"You can test this by scheduling a message for last month."|i18n} {"If it is not sent within 15 minutes your cronjob is not setup correctly and not running ( thus the stalling )."|i18n} {"To fix this you would have to contact your system admin/web host as we are unable to assist with cronjobs due to the wide range of settings/server configurations."|i18n}

{"The cron test worked but it still is stalled!"|i18n}
{"The cronjob could take up to 45 minutes to fully kickin after the initial stall."|i18n} {"If your message is still stalled at this time and clicking requeue does not change anything your server has a limitation or you mail queue on your server (sendmail, qmail, smtp, etc.. mail queue) is full and not allowing more messages to be initiatied."|i18n} {"In this situation you should contact your host or system admin."|i18n}

{elseif $mesg == 2}
{"If you need to manually restart / requeue a stalled mailing."|i18n} {"Click on the "Requeue" button on the queue page."|i18n} {"This button will only appear if the message has stalled for 5 minutes or more."|i18n} {"When you click requeue, sending will resume from where it left off."|i18n}
{/if}
{/if} {include file="cpaint_message_queue.tpl.htm"}