1 |
Am Mittwoch, den 23.11.2005, 17:28 +0000 schrieb Neil Bothwick: |
2 |
> On Wed, 23 Nov 2005 11:58:40 -0500, Leonard - Gentoo wrote: |
3 |
> |
4 |
> > Is it possible to send an attachment using the 'mail' command say in a |
5 |
> > cronjob? i have a file that i would like sent to me before deleted and |
6 |
> > recreated to examine it.. but 'man mail' doesnt exactly suggest that an |
7 |
> > attachment is possible |
8 |
> |
9 |
> I don't believe mail will do this, unless you encode the attachment and |
10 |
> incorporate it into the mail yourself. mail-client/nail seems to do what |
11 |
> you want, describing itself as 'an enhanced mailx-compatible mail client'. |
12 |
|
13 |
Or use just this: |
14 |
|
15 |
emerge mutt |
16 |
|
17 |
Than in a script you might use something like this: |
18 |
|
19 |
echo "Content" | mutt -s "Subject" -a file someone@×××××××××.com |
20 |
|
21 |
> |
22 |
> |
23 |
-- |
24 |
Mit freundlichen Grüßen |
25 |
|
26 |
Heinz Sporn |
27 |
|
28 |
SPORN it-freelancing |
29 |
|
30 |
Mobile: ++43 (0)699 / 127 827 07 |
31 |
Email: heinz.sporn@××××××××.com |
32 |
heinz.sporn@××××××.at |
33 |
Website: http://www.sporn-it.com |
34 |
Snail: Steyrer Str. 20 |
35 |
A-4540 Bad Hall |
36 |
Austria / Europe |
37 |
|
38 |
|
39 |
-- |
40 |
gentoo-user@g.o mailing list |