настройка TCP ID, UDP ID и DNS сервера для отправки имейла при помощи ESMTP
void esmtp_setup(int $udp_id, int $tcp_id [, string $dns_server = “”[, bool $ip6 = false]])
Отсутствуют
<?php
include "/lib/sn_dns.php"; // including DNS library
include "/lib/sn_esmtp.php"; // including ESMTP library
// UDP 0 for DNS, TCP 1 for sending email, DSN server IP: 192.168.0.1
esmtp_setup(0, 1, "192.168.0.1");
// UDP 2 for DNS, TCP 3 for sending email, DSN server IP: system DNS server IP
esmtp_setup(2, 3);
// enable IPv6
esmtp_setup(0, 1, "", true);
?>