wMailTo


The Win32/DOS program for automated email/usenet postings!


Back Home

What is wMailTo ? History Copyright and contributor information: Lisence agreement Use Some examples Download


What is wMailTo ?New

wMailTo (TM) is a handy 32 bit DOS program used to send email and news postings directly from the command line. It can be used interactively, or you can call it from other programs, DOS .bat files or Pearl scripts.

Unlike many other email utilities, this is written in C++, and does not require VBRUN or any other crap in order to run. It is also extreemly fast.

wMailto will rarely be used as an interactive mail program. The features is therefore designed to meet the neds of automated processing. Most options can be configured with command line arguments, and the body of a text message can be read from standard input (piped) or a file.
One feature that has been requested from many people are binary attachments. wMailTo handles this by encoding the output to a standard MIME multipart message.
Features

Up Back Home


HistoryNew

wMailTo is derived from the source code of another popular mailing program, wSendmail v 1.6. In fact, wMailTo is a replacement of wSendmail.

Note: wMailTo does not have any GCI-BIN capabilities like wSendmail does. If you want to use wMailTo to send web forms, you will need to use a front-end program (normally a Pearl script).

Up Back Home


Copyright and contributor information:New

wMailTo is Copyright 1997 by Jarle Aase. All rights reserved.

Idea and original implementation: Jarle Aase, Jgaa's Internet
MIME code taken from Bell Communications Research, Inc. (Bellcore)
Arpadate taken from Eric P. Allman, University of California.

Other contributors (to wSendmail - the original code for this program)
Wsendmail: Jarle Aase, Jgaa's Internet
Multi-reciptients code: M. Spoek
News posting modification: Wim van der Vegt
Bugfixes: Steve Russo, Digital Equipment Corp.

Up Back Home


Lisence agreementNew

wMailTo is built on the c++ library MailUtil, which has the following lisence acreement.

  1. This code might be freely used commercially and non-commercially under the following restrictions:
  2. No use is allowed by any governmental agencies or organizations in any country. This includes commercial companys 100% owned by the government. Universities and schools might use the code and library as they wish.
  3. THIS CODE IS NOT TO BE USED BY ANYONE IN ORDER TO GENERATE COMMERCIAL OR NON-COMMERCIAL SPAM-MAIL, OR SPAM POSTINGS ON USENET.
  4. These terms applies for the code and library, and programs compiled from this code and code derived from this code and library.

    Up Back Home


    UseNew

    Before you can use wMailTo, you need to 'initialize' the progam. This is done by calling

      wMailTo -init
    
    and answer the questions asked.

    wMailTo has the following command line options:

    
    Usage: wmailto [options] {to[,to] [to] | @addr_list_file}
    Usage: wmailto -- [options] {to[,to] [to] | @addr_list_file} < message
    Usage: wmailto -init  Install wmailto
    Options:
      -.      will end a piped message when a line contains a single dot.
      --      read text from standard input (console or pipe)
      -d      turn on debug mode
      -sSubject  adds a subject to the message
      -v      turn on verbose (interactive) mode
      -p      pause after the message is sent
      -h      show this help
      -iFile  include a binary attachment
      -tFile  include a textfile in the message body
      -a      convert OEM (european DOS codepages) charset to ANSI
      -Pn     sets priority (where n is 1 = highest, 3 = normal, 5 = lowest)
      -u      post to usenet (news). Receiver is newsgroup.
      -cAddress Cc to Address.
      -c@FileName Cc to Addressees defined in file FileName
      -bAddress Bcc to Address.
      -b@FileName Bcc to Addressees defined in file FileName
      -oOrganization.
    

    Up Back Home


    Some examplesNew

    To send a simple email message, just type

    wMailto
    at the DOS prompt.

    C:\>wMailTo -v
    wMailTo wMailTo v.1.0 Copyright 1997 by Jarle Aase
            Get a free copy from http://www.jgaa.com
    
    Going interactive - no receivers are specified.
    To: jgaa@jgaa.com
    To (Add one more or leave blank):
    Cc:
    Bcc:
    Subject: Just testing
    Enter message text. End with ^Z
    Hi Jarle.
    
    This is a test message.
    Bye.
    ^Z
    Email successfully sent
    C:\>
    

    To send the output from a program:

    C:\>dir | wmailto -- jgaa@jgaa.com "-sDir Ouput"
    

    To send a text file as the message body:

    C:\>wmailto -tc:\temp\somefile.txt jgaa@jgaa.com "-sA text file"
    

    To send the output from a program, along with a binary attachment:

    C:\>dir | wmailto -- jgaa@jgaa.com "-sDir Ouput" -ic:\temp\icon.gif 
    

    To send the output from a program, along with two binary attachments:

    C:\>dir | wmailto -- jgaa@jgaa.com "-sDir Ouput" -ic:\temp\icon.gif -id:\something.zip
    

    To send the output from a program, along with two binary attachments, anf bcc (blind carbon copy - useful for mailing lists when you don't want the name to all reciptients to appear in the message):

    C:\>dir | wmailto -- jgaa@jgaa.com "-sDir Ouput" -ic:\temp\icon.gif -id:\something.zip -b@mail_list_file.txt 
    

    To send a usenet posting:

    C:\>wmailto -u -v
    wMailTo wMailTo v.1.0 Copyright 1997 by Jarle Aase
            Get a free copy from http://www.jgaa.com
    
    Going interactive - no receivers are specified.
    Newsgroup: alt.test
    Newsgroup (Add one more or leave blank):
    Subject: Test ignore
    Enter message text. End with ^Z
    This is just a test
    
    Jarle
    ^Z
    wmailto: Message was successfully posted.
    C:\>
    

    Up Back Home


    DownloadNew

    Go to the Download page

    Up Back Home


    [About these pages] [Awards] [Introduction] [Sponsors] [Want to mirror this site?] [Main Section]

    Email:jgaa@online.no

    This page was generated by HTMgen32 0.5b