• Command Line e-mailing

    by  • October 29, 2007 • Review • 1 Comment

    Ever wanted to send a quick email but then though, “nah.. cba to open my inbox right now”?

    Now you can send emails via command line! It doesn’t have to be installed though you could do so if you please. I give you Blat!

    Here is a simple example from the documentation:

    @echo off
    :::::::::::::: Lets set some variables ::::::::::::::
    set eMail=tim@blat.tld
    set subj=-s “Test Blat”
    set server=-server localhost
    set x=-x “X-Header-Test: Can Blat do it? Yes it Can!”
    set debug=-debug -log blat.log -timestamp
    ::::::::::::::::: Now we run Blat! :::::::::::::::::
    blat %0 -to %eMail% -f %eMail% %subj% %server% %debug% %x%

    About

    I'm a techie who likes to ramble on about the new stuff on the block. I try to keep finding new and better ways to do things writing hacks and web scrapes along the way just for fun. ;)

    http://karunab.com

    One Response to Command Line e-mailing

    1. dt
      November 8, 2007 at 1:00 pm

      too complex :(

      /me would rather just open php and use mail() :P

    Leave a Reply

    Your email address will not be published. Required fields are marked *