{"id":1853,"date":"2016-08-14T10:16:52","date_gmt":"2016-08-14T15:16:52","guid":{"rendered":"http:\/\/swildow.darktech.org\/wp\/?p=1853"},"modified":"2016-08-14T10:16:52","modified_gmt":"2016-08-14T15:16:52","slug":"blat-syntax","status":"publish","type":"post","link":"http:\/\/www.wildow.com\/blog\/?p=1853","title":{"rendered":"blat syntax"},"content":{"rendered":"<pre>Blat v2.5.0 w\/GSS encryption (build : Sep 14 2005 22:46:29)\r\n\r\nWin32 console utility to send mail via SMTP or post to usenet via NNTP\r\nby P.Mendes,M.Neal,G.Vollant,T.Charron,T.Musson,H.Pesonen,A.Donchey,C.Hyde\r\n  http:\/\/www.blat.net\r\nsyntax:\r\n  Blat &lt;filename&gt; -to &lt;recipient&gt; [optional switches (see below)]\r\n  Blat -install &lt;server addr&gt; &lt;sender's addr&gt; [&lt;try&gt;[&lt;port&gt;[&lt;profile&gt;]]] [-q]\r\n  Blat -profile [-delete | \"&lt;default&gt;\"] [profile1] [profileN] [-q]\r\n  Blat -h\r\n\r\n-------------------------------- Installation ---------------------------------\r\n<a href=\"http:\/\/www.blat.net\/syntax\/install.html\">-install<\/a>[SMTP|NNTP|POP3] &lt;server addr&gt; &lt;sender's email addr&gt; [&lt;try n times&gt;\r\n                [&lt;port&gt; [&lt;profile&gt; [&lt;username&gt; [&lt;password&gt;]]]]]\r\n                : set server, sender, number of tries and port for profile\r\n                  (&lt;try n times&gt; and &lt;port&gt; may be replaced by '-')\r\n                  port defaults are SMTP=25, NNTP=119, POP3=110\r\n                  default profile can be specified with a '-'\r\n                  username and\/or password may be stored to the registry\r\n                  order of options is specific\r\n                  use -installNNTP for storing NNTP information\r\n                  use -installPOP3 for storing POP3 information\r\n                      (sender and try are ignored, use '-' in place of these)\r\n\r\n--------------------------------- The Basics ----------------------------------\r\n&lt;filename&gt;      : file with the message body to be sent\r\n                  if your message body is on the command line, use a hyphen (-)\r\n                  as your first argument, and -body followed by your message\r\n                  if your message will come from the console\/keyboard, use the\r\n                  hyphen as your first argument, but do not use -body option.\r\n<a href=\"http:\/\/www.blat.net\/syntax\/of.html\">-of<\/a> &lt;file&gt;      : text file containing more options (also -optionfile)\r\n<a href=\"http:\/\/www.blat.net\/syntax\/to.html\">-to<\/a> &lt;recipient&gt; : recipient list (also -t) (comma separated)\r\n<a href=\"http:\/\/www.blat.net\/syntax\/tf.html\">-tf<\/a> &lt;file&gt;      : recipient list filename\r\n<a href=\"http:\/\/www.blat.net\/syntax\/cc.html\">-cc<\/a> &lt;recipient&gt; : carbon copy recipient list (also -c) (comma separated)\r\n<a href=\"http:\/\/www.blat.net\/syntax\/cf.html\">-cf<\/a> &lt;file&gt;      : cc recipient list filename\r\n<a href=\"http:\/\/www.blat.net\/syntax\/bcc.html\">-bcc<\/a> &lt;recipient&gt;: blind carbon copy recipient list (also -b)\r\n                  (comma separated)\r\n<a href=\"http:\/\/www.blat.net\/syntax\/bf.html\">-bf<\/a> &lt;file&gt;      : bcc recipient list filename\r\n<a href=\"http:\/\/www.blat.net\/syntax\/maxNames.html\">-maxNames<\/a> &lt;x&gt;   : send to groups of &lt;x&gt; number of recipients\r\n<a href=\"http:\/\/www.blat.net\/syntax\/ur.html\">-ur<\/a>             : set To: header to Undisclosed Recipients if not using the\r\n                  -to and -cc options\r\n<a href=\"http:\/\/www.blat.net\/syntax\/subject.html\">-subject<\/a> &lt;subj&gt; : subject line, surround with quotes to include spaces(also -s)\r\n<a href=\"http:\/\/www.blat.net\/syntax\/ss.html\">-ss<\/a>             : suppress subject line if not defined\r\n<a href=\"http:\/\/www.blat.net\/syntax\/sf.html\">-sf<\/a> &lt;file&gt;      : file containing subject line\r\n<a href=\"http:\/\/www.blat.net\/syntax\/body.html\">-body<\/a> &lt;text&gt;    : message body, surround with quotes to include spaces\r\n<a href=\"http:\/\/www.blat.net\/syntax\/sig.html\">-sig<\/a> &lt;file&gt;     : text file containing your email signature\r\n<a href=\"http:\/\/www.blat.net\/syntax\/tag.html\">-tag<\/a> &lt;file&gt;     : text file containing taglines, to be randomly chosen\r\n<a href=\"http:\/\/www.blat.net\/syntax\/ps.html\">-ps<\/a> &lt;file&gt;      : final message text, possibly for unsubscribe instructions\r\n\r\n----------------------------- Registry overrides ------------------------------\r\n<a href=\"http:\/\/www.blat.net\/syntax\/p.html\">-p<\/a> &lt;profile&gt;    : send with server, user, and port defined in &lt;profile&gt;\r\n                : use username and password if defined in &lt;profile&gt;\r\n<a href=\"http:\/\/www.blat.net\/syntax\/profile.html\">-profile<\/a>        : list all profiles in the Registry\r\n<a href=\"http:\/\/www.blat.net\/syntax\/server.html\">-server<\/a> &lt;addr&gt;  : specify SMTP server to be used (optionally, addr:port)\r\n<a href=\"http:\/\/www.blat.net\/syntax\/serverSMTP.html\">-serverSMTP<\/a> &lt;addr&gt;\r\n                : same as -server\r\n<a href=\"http:\/\/www.blat.net\/syntax\/serverNNTP.html\">-serverNNTP<\/a> &lt;addr&gt;\r\n                : specify NNTP server to be used (optionally, addr:port)\r\n<a href=\"http:\/\/www.blat.net\/syntax\/serverPOP3.html\">-serverPOP3<\/a> &lt;addr&gt;\r\n                : specify POP3 server to be used (optionally, addr:port)\r\n                  when POP3 access is required before sending email\r\n<a href=\"http:\/\/www.blat.net\/syntax\/f.html\">-f<\/a> &lt;sender&gt;     : override the default sender address (must be known to server)\r\n<a href=\"http:\/\/www.blat.net\/syntax\/i.html\">-i<\/a> &lt;addr&gt;       : a 'From:' address, not necessarily known to the server\r\n<a href=\"http:\/\/www.blat.net\/syntax\/port.html\">-port<\/a> &lt;port&gt;    : port to be used on the SMTP server, defaults to SMTP (25)\r\n<a href=\"http:\/\/www.blat.net\/syntax\/portSMTP.html\">-portSMTP<\/a> &lt;port&gt;: same as -port\r\n<a href=\"http:\/\/www.blat.net\/syntax\/portNNTP.html\">-portNNTP<\/a> &lt;port&gt;: port to be used on the NNTP server, defaults to NNTP (119)\r\n<a href=\"http:\/\/www.blat.net\/syntax\/portPOP3.html\">-portPOP3<\/a> &lt;port&gt;: port to be used on the POP3 server, defaults to POP3 (110)\r\n<a href=\"http:\/\/www.blat.net\/syntax\/u.html\">-u<\/a> &lt;username&gt;   : username for AUTH LOGIN (use with -pw)\r\n<a href=\"http:\/\/www.blat.net\/syntax\/pw.html\">-pw<\/a> &lt;password&gt;  : password for AUTH LOGIN (use with -u)\r\n<a href=\"http:\/\/www.blat.net\/syntax\/pu.html\">-pu<\/a> &lt;username&gt;  : username for POP3 LOGIN (use with -ppw)\r\n<a href=\"http:\/\/www.blat.net\/syntax\/ppw.html\">-ppw<\/a> &lt;password&gt; : password for POP3 LOGIN (use with -pu)\r\n\r\n---------------------- Miscellaneous RFC header switches ----------------------\r\n<a href=\"http:\/\/www.blat.net\/syntax\/organization.html\">-organization<\/a> &lt;organization&gt;\r\n                : Organization field (also -o and -org)\r\n<a href=\"http:\/\/www.blat.net\/syntax\/ua.html\">-ua<\/a>             : include User-Agent header line instead of X-Mailer\r\n<a href=\"http:\/\/www.blat.net\/syntax\/x.html\">-x<\/a> &lt;X-Header: detail&gt;\r\n                : custom 'X-' header.  eg: -x \"X-INFO: Blat is Great!\"\r\n<a href=\"http:\/\/www.blat.net\/syntax\/noh.html\">-noh<\/a>            : prevent X-Mailer\/User-Agent header from showing Blat homepage\r\n<a href=\"http:\/\/www.blat.net\/syntax\/noh2.html\">-noh2<\/a>           : prevent X-Mailer header entirely\r\n<a href=\"http:\/\/www.blat.net\/syntax\/d.html\">-d<\/a>              : request disposition notification\r\n<a href=\"http:\/\/www.blat.net\/syntax\/r.html\">-r<\/a>              : request return receipt\r\n<a href=\"http:\/\/www.blat.net\/syntax\/charset.html\">-charset<\/a> &lt;cs&gt;   : user defined charset.  The default is ISO-8859-1\r\n<a href=\"http:\/\/www.blat.net\/syntax\/a1.html\">-a1<\/a> &lt;header&gt;    : add custom header line at the end of the regular headers\r\n<a href=\"http:\/\/www.blat.net\/syntax\/a2.html\">-a2<\/a> &lt;header&gt;    : same as -a1, for a second custom header line\r\n<a href=\"http:\/\/www.blat.net\/syntax\/dsn.html\">-dsn<\/a> &lt;nsfd&gt;     : use Delivery Status Notifications (RFC 3461)\r\n                  n = never, s = successful, f = failure, d = delayed\r\n                  can be used together, however N takes precedence\r\n<a href=\"http:\/\/www.blat.net\/syntax\/hdrencb.html\">-hdrencb<\/a>        : use base64 for encoding headers, if necessary\r\n<a href=\"http:\/\/www.blat.net\/syntax\/hdrencq.html\">-hdrencq<\/a>        : use quoted-printable for encoding headers, if necessary\r\n<a href=\"http:\/\/www.blat.net\/syntax\/priority.html\">-priority<\/a> &lt;pr&gt;  : set message priority 0 for low, 1 for high\r\n\r\n----------------------- Attachment and encoding options -----------------------\r\n<a href=\"http:\/\/www.blat.net\/syntax\/attach.html\">-attach<\/a> &lt;file&gt;  : attach binary file(s) to message (filenames comma separated)\r\n<a href=\"http:\/\/www.blat.net\/syntax\/attacht.html\">-attacht<\/a> &lt;file&gt; : attach text file(s) to message (filenames comma separated)\r\n<a href=\"http:\/\/www.blat.net\/syntax\/attachi.html\">-attachi<\/a> &lt;file&gt; : attach text file(s) as INLINE (filenames comma separated)\r\n<a href=\"http:\/\/www.blat.net\/syntax\/embed.html\">-embed<\/a> &lt;file&gt;   : embed file(s) in HTML.  Object tag in HTML must specify\r\n                  content-id using cid: tag.  eg: &lt;img src=\"cid:image.jpg\"&gt;\r\n<a href=\"http:\/\/www.blat.net\/syntax\/af.html\">-af<\/a> &lt;file&gt;      : file containing list of binary file(s) to attach (comma\r\n                  separated)\r\n<a href=\"http:\/\/www.blat.net\/syntax\/atf.html\">-atf<\/a> &lt;file&gt;     : file containing list of text file(s) to attach (comma\r\n                  separated)\r\n<a href=\"http:\/\/www.blat.net\/syntax\/aef.html\">-aef<\/a> &lt;file&gt;     : file containing list of embed file(s) to attach (comma\r\n                  separated)\r\n<a href=\"http:\/\/www.blat.net\/syntax\/base64.html\">-base64<\/a>         : send binary files using base64 (binary MIME)\r\n<a href=\"http:\/\/www.blat.net\/syntax\/uuencode.html\">-uuencode<\/a>       : send binary files UUEncoded\r\n<a href=\"http:\/\/www.blat.net\/syntax\/enriched.html\">-enriched<\/a>       : send an enriched text message (Content-Type=text\/enriched)\r\n<a href=\"http:\/\/www.blat.net\/syntax\/unicode.html\">-unicode<\/a>        : message body is in 16- or 32-bit Unicode format\r\n<a href=\"http:\/\/www.blat.net\/syntax\/html.html\">-html<\/a>           : send an HTML message (Content-Type=text\/html)\r\n<a href=\"http:\/\/www.blat.net\/syntax\/alttext.html\">-alttext<\/a> &lt;text&gt; : plain text for use as alternate text\r\n<a href=\"http:\/\/www.blat.net\/syntax\/alttextf.html\">-alttextf<\/a> &lt;file&gt;: plain text file for use as alternate text\r\n<a href=\"http:\/\/www.blat.net\/syntax\/mime.html\">-mime<\/a>           : MIME Quoted-Printable Content-Transfer-Encoding\r\n<a href=\"http:\/\/www.blat.net\/syntax\/8bitmime.html\">-8bitmime<\/a>       : ask for 8bit data support when sending MIME\r\n<a href=\"http:\/\/www.blat.net\/syntax\/multipart.html\">-multipart<\/a> &lt;size&gt;\r\n                : send multipart messages, breaking attachments on &lt;size&gt;\r\n                  KB boundaries, where &lt;size&gt; is per 1000 bytes\r\n<a href=\"http:\/\/www.blat.net\/syntax\/nomps.html\">-nomps<\/a>                : do not allow multipart messages\r\n\r\n---------------------------- NNTP specific options ----------------------------\r\n<a href=\"http:\/\/www.blat.net\/syntax\/groups.html\">-groups<\/a> &lt;usenet groups&gt;\r\n                : list of newsgroups (comma separated)\r\n\r\n-------------------------------- Other options --------------------------------\r\n<a href=\"http:\/\/www.blat.net\/syntax\/h.html\">-h<\/a>              : displays this help (also -?, \/?, -help or \/help)\r\n<a href=\"http:\/\/www.blat.net\/syntax\/q.html\">-q<\/a>              : suppresses all output to the screen\r\n<a href=\"http:\/\/www.blat.net\/syntax\/debug.html\">-debug<\/a>          : echoes server communications to a log file or screen\r\n                  (overrides -q if echoes to the screen)\r\n<a href=\"http:\/\/www.blat.net\/syntax\/log.html\">-log<\/a> &lt;file&gt;     : log everything but usage to &lt;file&gt;\r\n<a href=\"http:\/\/www.blat.net\/syntax\/timestamp.html\">-timestamp<\/a>      : when -log is used, a timestamp is added to each log line\r\n<a href=\"http:\/\/www.blat.net\/syntax\/ti.html\">-ti<\/a> &lt;n&gt;         : set timeout to 'n' seconds.  Blat will wait 'n' seconds for\r\n                  server responses\r\n<a href=\"http:\/\/www.blat.net\/syntax\/try.html\">-try<\/a> &lt;n times&gt;  : how many times blat should try to send (1 to 'INFINITE')\r\n<a href=\"http:\/\/www.blat.net\/syntax\/binary.html\">-binary<\/a>         : do not convert ASCII | (pipe, 0x7c) to CrLf in the message\r\n                  body\r\n<a href=\"http:\/\/www.blat.net\/syntax\/hostname.html\">-hostname<\/a> &lt;hst&gt; : select the hostname used to send the message via SMTP\r\n                  this is typically your local machine name\r\n<a href=\"http:\/\/www.blat.net\/syntax\/raw.html\">-raw<\/a>            : do not add CR\/LF after headers\r\n<a href=\"http:\/\/www.blat.net\/syntax\/delay.html\">-delay<\/a> &lt;x&gt;      : wait x seconds between messages being sent when used with\r\n                  -maxnames or -multipart\r\n<a href=\"http:\/\/www.blat.net\/syntax\/comment.html\">-comment<\/a> &lt;char&gt; : use this character to mark the start of commments in\r\n                  options files and recipient list files.  The default is ;\r\n<a href=\"http:\/\/www.blat.net\/syntax\/superdebug.html\">-superdebug<\/a>     : hex\/ascii dump the data between Blat and the server\r\n<a href=\"http:\/\/www.blat.net\/syntax\/superdebugT.html\">-superdebugT<\/a>    : ascii dump the data between Blat and the server\r\n-------------------------------------------------------------------------------\r\n\r\nNote that if the '-i' option is used, &lt;sender&gt; is included in 'Reply-to:'\r\nand 'Sender:' fields in the header of the message.\r\n\r\nOptionally, the following options can be used instead of the -f and -i\r\noptions:\r\n\r\n<a href=\"http:\/\/www.blat.net\/syntax\/mailfrom.html\">-mailfrom<\/a> &lt;addr&gt;   The RFC 821 MAIL From: statement\r\n<a href=\"http:\/\/www.blat.net\/syntax\/from.html\">-from<\/a> &lt;addr&gt;       The RFC 822 From: statement\r\n<a href=\"http:\/\/www.blat.net\/syntax\/replyto.html\">-replyto<\/a> &lt;addr&gt;    The RFC 822 Reply-To: statement\r\n<a href=\"http:\/\/www.blat.net\/syntax\/returnpath.html\">-returnpath<\/a> &lt;addr&gt; The RFC 822 Return-Path: statement\r\n<a href=\"http:\/\/www.blat.net\/syntax\/sender.html\">-sender<\/a> &lt;addr&gt;     The RFC 822 Sender: statement\r\n\r\nFor backward consistency, the -f and -i options have precedence over these\r\nRFC 822 defined options.  If both -f and -i options are omitted then the\r\nRFC 821 MAIL FROM statement will be defaulted to use the installation-defined\r\ndefault sender address.\r\n\r\n<\/pre>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Blat v2.5.0 w\/GSS encryption (build : Sep 14 2005 22:46:29) Win32 console utility to send mail via SMTP or post to usenet via NNTP by P.Mendes,M.Neal,G.Vollant,T.Charron,T.Musson,H.Pesonen,A.Donchey,C.Hyde http:\/\/www.blat.net syntax: Blat &lt;filename&gt; -to &lt;recipient&gt; [optional switches (see below)] Blat -install &lt;server addr&gt; &#8230; <a class=\"more-link\" href=\"http:\/\/www.wildow.com\/blog\/?p=1853\">Read More &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1853","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"http:\/\/www.wildow.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1853","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.wildow.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.wildow.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.wildow.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.wildow.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1853"}],"version-history":[{"count":1,"href":"http:\/\/www.wildow.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1853\/revisions"}],"predecessor-version":[{"id":1854,"href":"http:\/\/www.wildow.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1853\/revisions\/1854"}],"wp:attachment":[{"href":"http:\/\/www.wildow.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1853"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.wildow.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1853"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.wildow.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1853"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}