command line - How to send email with attachment on OpenWRT? -


i have installed openwrt on ruter msmtp package. i'm able send regular email can't figure out how add attachment. i've searched google , seems should use uuencode can't find proper package.

the questions are:

  1. does uuencode or it's substitute exists openwrt? if not then:
  2. how send email attachment on openwrt without uuencode?

you can use mutt. here example how send email attachment:

echo "this message body" | mutt -a "/path/to/file.to.attach" -s "subject of message" -- recipient@domain.com 

as of openwrt attitude adjustment 12.09 mutt package available.


Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

javascript - jQuery .height() return 0 when visible but non-0 when hidden -