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:
- does uuencode or it's substitute exists openwrt? if not then:
- 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
Post a Comment