From: Grant Edwards <grant.b.edwards@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Re: script for sending mail with attachement?
Date: Tue, 11 May 2010 19:59:59 +0000 (UTC) [thread overview]
Message-ID: <hsccvu$ma7$1@dough.gmane.org> (raw)
In-Reply-To: 4BE9AFFE.5020801@gmail.com
On 2010-05-11, Jarry <mr.jarry@gmail.com> wrote:
> Hi,
> my small mysql-database is archived every couple of hours, but
> all those backups (~5MB each) are still on the server, which
> I do not consider secure. I would like to have them sent to me
> per email.
>
> What I am looking for is some command-line mailer, which could
> be used in script-mode, and able to send attachements. Any ideas?
echo "Here's the backup..." | mutt -s "Mysql backup" -a filename.whatever username@whereever.com
--
Grant Edwards grant.b.edwards Yow! I'm GLAD I
at remembered to XEROX all
gmail.com my UNDERSHIRTS!!
next prev parent reply other threads:[~2010-05-11 20:01 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-11 19:29 [gentoo-user] script for sending mail with attachement? Jarry
2010-05-11 19:39 ` David Abbott
2010-05-11 19:39 ` Oli Schmidt
2010-05-11 19:59 ` Grant Edwards [this message]
2010-05-11 20:05 ` lists-gentoo-user
2010-05-12 3:00 ` Brett Freer
2010-05-14 8:31 ` Fab
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='hsccvu$ma7$1@dough.gmane.org' \
--to=grant.b.edwards@gmail.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox