command line mailen windows

command line mailen windows

download bmail ( thanks to Beyond Logic )

usage example :
bmail.exe -s 127.0.0.1 -t from@mail.com -f someone@mail.com -h -a “test” -m c:\mail.txt -c

Options :

 C:\>bmail /?

 Command Line SMTP Emailer V1.07
 Copyright(C) 2002-2004
 Usage: bmail [options]
         -s    SMTP Server Name
         -p    SMTP Port Number (optional, defaults to 25)
         -t    To: Address
         -f    From: Address
         -b    Text Body of Message (optional)
         -h    Generate Headers
         -a    Subject (optional)
         -m    Filename (optional) Use file as Body of Message
                -c    Prefix above file with CR/LF to separate body from header
                -d    Debug (Show all mail server communications)

Leave a Reply

Your email address will not be published.

5 − one =

This site uses Akismet to reduce spam. Learn how your comment data is processed.