{if isset($sender.id)}
{/if}
[`Transport`]
{foreach $sender_types as $id => $s}
{if PHP_MAJOR_VERSION < 8 || $id != 'mail' || $params.type == $id}
{$s.description}
{/if}
{if $id == 'wa' && !$waid_is_connected}
{sprintf_wp(
'Connect to Webasyst ID to use the Webasyst sender server.',
"{$wa_backend_url}webasyst/settings/waid/"
)}
{/if}
{/foreach}
{if isset($sender_types.mail)}
{/if}
{if isset($sender_types.smtp)}
[`Encryption`]
{/if}
{if isset($sender_types.sendmail)}
{/if}
{if isset($sender_types.wa)}
{if $waid_is_connected && !empty($wa_api_error)}
[`Webasyst API error`]
{$wa_api_error}
{elseif $waid_is_connected}
{* include './include.transport.wa.html' inline *}
{/if}
{/if}
{if isset($sender_types.test)}
[`Note: mail will be saved to the wa-log/mailer/ directory and will NOT be sent to recipients.`]
{/if}
{foreach $sender_types as $id => $s}
{if !is_string($s) && isset($s.content)}
{$s.content}
{if !empty($s.return_path_built_in)}
{/if}
{/if}
{/foreach}
DKIM
[`What is DKIM`]
[`Please enter sender’s email address to use DKIM.`]
[`Selected transport does not require DKIM setup.`]
{if empty($params.ssl_is_set)}
[`You need to install PHP extension openssl to use DKIM.`]
{/if}
{if empty($params.php_version_ok)}
[`You need PHP version 5.3 or higher to use DKIM. Your current version is:`] {$params.php_version}.
{/if}
[`Add a new TXT record with this public DKIM key to the DNS zone of domain name`]
{ifset($sender.domain)}
[`Host`]
{ifempty($params.dkim_selector, 'key1')}._domainkey.{ifset($sender.domain)}
[`Value`]
v=DKIM1; k=rsa; t=s; p={ifset($sender.one_string_key)}
{* Container for generic validation errors not attached to a particular input. *}