@echo off rem *--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*-- rem *** FILE: rem *** tell.bat rem *** DESCRIPTION: rem *** This batch script uses the public domain rem *** command-line email sending and retrieving programs to rem *** send mail via the Yahoo smtp server. The blat program rem *** which is the email sending program cannot, by itself rem *** send the mail through the smtp.mail.yahoo.com Smtp rem *** Server because that server requires that the sender rem *** has been 'pop' authenticated. As far as I can see, there rem *** is no capability by 'blat' to do a pop authentication. rem *** rem *** However by using the 'getmail' program rem *** which is maintained by the same person as the 'blat' rem *** program, it is possible to send the mail. rem *** This is because the 'getmail' program does a pop3 rem *** authentication, which must expire via a time-out rem *** mechanism rather than by an explicit log-out (?) rem *** AUTHOR: rem *** matth3wbishop@yahoo.com rem *** URLS: rem *** The getmail program is available at rem *** http://www.interlog.com/~tcharron/getmail.html rem *** The blat program is available at rem *** http://www.interlog.com/~tcharron/blat.html rem *** DATE: rem *** September 2001 rem *** OTHER NOTES: rem *** The getmail program is installed with: rem *** getmail -install pop.mail.yahoo.com matth3wbishop@yahoo.com bacibaci no yes rem *** The last two parameters (no yes) mean that rem *** a) messages will not be deleted from the rem *** pop3 server when they are downloaded rem *** b) All attachments are automatically extracted from the mime rem *** encoding format when they are downloaded. rem *** The blat program is installed with: rem *** blat -install smtp.mail.yahoo.com matth3wbishop@yahoo.com rem *--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*-- @echo on @echo Please wait while a connection is established ... @if not "%1"=="" getmail -u matth3wbishop -b 78 -n 1 @if not "%1"=="" blat - -to %1 -debug @if "%1"=="" echo usage: tell <somebody@some.where> @if "%1"=="" echo Then enter the message and [control] + Z