SmtpSend4
-s servername | DNS server name (autodetect by default) |
-p portnumber | port number for SMTP (default is 25) |
-o outputfile | filename for messages (default is stdout) |
-dial | dial before mail sending (only with Eserv/2) |
-z | serialize SMTPSEND sessions |
-b | daemon mode (do not exit; loop on mail\out\ folder) |
-r | number of days to keep send trying; return if older |
-ir | immediately return message on any errors |
-rd | folder for returned mail (default 'mail\spool\') |
-ra | MAILFROM for returned mail (default 'postmaster@local') |
-debug | debug mode (DNS dump) |
-v | validate only mode (without 'DATA' SMTPcommand) |
-f foldername | set folder name (default 'mail\out\') |
-sm | use specified SMTP server instead MX |
-to | SMTP timeout in seconds (default is 10min) |
-dmto | daemon mode tick interval |
-pd | print current default DNS-server of TCP/IP stack |
-dc | disable DNS checking |
-ld | loop detect (equal MAIL FROM and RCPT TO) |
-helo name | use specified name instead of domain in HELO command |
-ehlo | use EHLO instead of HELO |
-tls | use secure connection with STARTTLS, if available |
-ssl | use secure connection (use -p command to set SSL port number) |
-u | username, if ESMTP AUTH required by ISP |
-w | password, if ESMTP AUTH required by ISP |
-delay ms | delay 'ms' milliseconds after each send operation to slow down sending |
-ini inifile | filename with global options (default is: {Eserv}\Eserv[.orig].ini, {ModuleDirName}\smtpsend4.ini) |
-rh hours | move to retry folder, if can't post within 'hours' (default is 4 hr) |
-rf retryfolder | retry folder name (default is mail\retry\) |
-rn notifyfile | template of notification message for -rh (default is built-in template) |
-s3 | send to 'A' host when 'MX's not accepting message (default — use 'A' only if there no 'MX's at all) |
-sh isp_server | use this server if MX- and A- delivery failed |
-dw | disable icon and log-window creating |
-ln number | limit number of lines in the listbox window (default is 30000) |
-ll n | log format string ID (default is 912) |
-pigmail | PigMail compatible mode (Eserv3.pigmail.ini) |
-text | Text mode (no xml tags) |
-cd | Change current directory (relative to ModuleDirName) |
Upd 14.12.2011:
В версии 4.27 добавлена поддержка SSL-соединений (в дополнение к давно поддерживаемым TLS). Пример:
smtpsend4.exe -test -sm email-smtp.us-east-1.amazonaws.com -ssl -p 465