Friday, 7 June 2013

Send mail with an zip attached from Mutt without prompt options?

Send mail with an zip attached from Mutt without prompt options?

I'm stucked when I'm trying send an email, using Mutt, but evry times that I run the script it prompt an menu with an verification. There is any way to bypass that verification or to inupt the option from the script without ask nothing?
#! /bin/bash

zip -r files.zip /home/user/folder/*.*
mutt -s "files[CONFIDENTIAL]" -a files.zip -- mail@mail.com
rm files.zip**strong text**

No comments:

Post a Comment