Showing posts with label email. Show all posts
Showing posts with label email. Show all posts

Monday, April 22, 2013

poor men's PGP

I just finished the pmPGP, a CLI for sending/receiving openPGP mime messages.

The pmPGP is based on python and gnupg; it supports sending emails in the following formats:
  1. plain -- regular email
  2. sign -- RFC3156
  3. encrypt -- RFC3156
  4. sign-encrypt -- RFC3156
  5. Sencrypt -- Symmetric encryption (for fun and personal usage)
  6. sign-Sencrypt -- (for fun and personal usage)
Poor man may use pmPGP to store/backup files on email servers.
Sounds interesting? Get it from:

Monday, February 4, 2013

attach a file in an email

Mail (or, mailx) is a convenient utility for sending and receiving emails on unix/linux systems.Here is a tip on how to send an email with an attachment.

To send an email with message stored in file MailBody and a picture in file Pic.jpg as an attachment, we type:

(cat MailBody; uuencode Pic.jpg Pic.jpg)|mail -s "Subject of this mail" someone@some.where.com