Results 1 to 1 of 1

Thread: send email from command line

  1. #1
    Join Date
    Apr 2005
    Location
    Providence, RI
    Posts
    484

    send email from command line

    This is a script for sending simple emails from the command line. It accepts a short message, text file attachment, or both, and should work on pretty much any Tivo.
    It requires the following libraries:
    tcllib-mime (available at http://tcllib.cvs.sourceforge.net/vi.../modules/mime/)
    tcllib-smtp (available at http://tcllib.cvs.sourceforge.net/vi...modules/smtpd/)

    INSTALLATION:
    Download and untar MIME and SMTP libraries.
    Copy mime and smtpd folders to /tvlib/tcl on your system.
    Set defaults in smtpmail script. Makes sense to prepopulate 'server' and 'from'.
    Copy smtpmail to a location on your path. Use and enjoy.

    Type smtpmail --help for options.

    -r, --recipient towhom@where.com
    -s, --subject "Subject text"
    -b, --body "Body of message"
    -v, --server smtp server name
    -f, --from you@youremail.com
    Last edited by djl; 04-10-2011 at 04:32 PM. Reason: wrong attachment
    More software at http://davidlauria.com/software.
    The lost alt-rock masterpiece from the '90s, Range of Motion's "Soft Buzz of Silence", is now available on iTunes!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •