{if $errormsg}
{foreach $errormsg as $e} {$e} {/foreach}
{else} {if !$scheduled} {/if} {$_warning_class = "m-warning-{if empty($cron_ok)}cron-{/if}{if empty($return_path_ok['status'])}return_path-{/if}{if empty($routing_ok)}routing-{/if}reason"} {if empty($cron_ok) || empty($return_path_ok['status']) || empty($routing_ok)}[`No cron jobs, required for long mailings, have been set up for your account.`] {sprintf_wp('Without cron jobs set up, do not close your browser window after clicking on the “%s” button to complete the email sending process.', _w('Launch campaign'))}
{sprintf_wp( 'To ensure that sending is completed without your input, please set up cron jobs (view instructions), with the commands specified below, in your web-hosting control panel:', _w('https://developers.webasyst.com/docs/tips/cron/') )}
{$cron_command}
{if $_prev_warning_schown} {/if} {if $return_path_ok['reason'] == 1 || $return_path_ok['reason'] == 2 || $return_path_ok['reason'] == 3} [`Return-Path address specified above is not available.`] {elseif $return_path_ok['reason'] == 4} {sprintf_wp('Return-Path “%s” is forbidden by the sending server.', $return_path_ok['return-path'])} {/if} [`Return-Path address is used to automatically process bounced emails.`]
{$_prev_warning_schown = true} {/if} {if empty($routing_ok)} {if $_prev_warning_schown}{if $_prev_warning_schown} {/if} [`You have no routing rules defined for Mailer application.`] [`Unsubscribe links in your message will not work.`] {sprintf_wp('To set up routing rules use %sSite application%s.', '', '')}
{$_prev_warning_schown = true} {/if} {if $need_from_replace} {if $_prev_warning_schown}{sprintf_wp( 'Sender address %s cannot be used for sending email campaigns via the Webasyst service for the following reasons:', $need_from_replace.original_from_email )}
{/if}{sprintf_wp( _ws('Necessary records have been added to the DNS zone of domain name %s. Please wait for up to 2 days until these changes take effect.'), $need_from_replace.domain )}
{/if}
[s`To prevent messages from being rejected or marked as SPAM by recipients’ servers, the sender’s information will be replaced as follows in the message headers:`]
From:
{if !empty($need_from_replace.from_name)}
{$need_from_replace.from_name|escape} <{$need_from_replace.from_email|escape}>
{else}
{$need_from_replace.from_email|escape}
{/if}
{if !empty($need_from_replace.reply_to_email)}
Reply-To:
{if !empty($need_from_replace.reply_to_name)}
{$need_from_replace.reply_to_name|escape} <{$need_from_replace.reply_to_email|escape}>
{else}
{$need_from_replace.reply_to_email|escape}
{/if}
{/if}
{sprintf_wp( _ws('If you do not want such a replacement and would like to use only sender address %s then carry out the following actions (it may be required to wait up to 2 days for these changes to take effect).'), $need_from_replace.original_from_email )}
{/if}{$need_from_replace.spf.domain|escape}. [s`Record type:`] TXT.
[s`Value:`]
{$need_from_replace.spf.record_required|escape}
%s part to its SPF record.'),
$need_from_replace.domain,
$need_from_replace.spf.record_include
)}
{$need_from_replace.spf.record_current|escape}
{$need_from_replace.spf.record_required}
_dmarc.{$need_from_replace.domain}.
[s`Record type:`] TXT.
[s`Value:`] v=DMARC1; p=none.
{$need_from_replace.dkim.host}. [s`Record type:`] TXT.
[s`Value:`]
{$need_from_replace.dkim.txt|escape}
[`Sending is scheduled for`] {$scheduled_time|wa_datetime:'humandatetime'} {_w('Ready to send to %d recipients.', 'Ready to send to %d recipients.', $unique_recipients)} {if $estimated_duration} {sprintf_wp('The sending will take about %s.', $estimated_duration)} {/if}
{elseif empty($need_from_replace)} {if $_prev_warning_schown}{_w('Ready to send to %d recipients.', 'Ready to send to %d recipients.', $unique_recipients)} {if $estimated_duration} {sprintf_wp('The sending will take %s.', $estimated_duration)} {/if}
{/if} {/if}