Gentoo Archives: gentoo-user

From: Leonard - Gentoo <gentoolist@××××××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] mail command and attachment?
Date: Thu, 24 Nov 2005 06:18:47
Message-Id: 12cb01c5f0be$6b872a80$6402a8c0@internal.local.net
In Reply to: Re: [gentoo-user] mail command and attachment? by Leonard - Gentoo
1 Thinking of this now.. but qmail is on this same box..
2
3 Anyone know off hand the syntax to send a message feeding it to qmail for
4 delivery to an account on the box?
5
6 Regards ..
7
8 Leonard
9 ----- Original Message -----
10 From: "Leonard - Gentoo" <gentoolist@××××××××××××.com>
11 To: <gentoo-user@l.g.o>
12 Sent: Thursday, November 24, 2005 1:05 AM
13 Subject: Re: [gentoo-user] mail command and attachment?
14
15
16 > Heinz,
17 >
18 > Outstanding.. thanks for the suggestion also..
19 >
20 > Regards ..
21 >
22 > Leonard
23 > ----- Original Message -----
24 > From: "Heinz Sporn" <heinz.sporn@××××××××.com>
25 > To: <gentoo-user@l.g.o>
26 > Sent: Thursday, November 24, 2005 12:49 AM
27 > Subject: Re: [gentoo-user] mail command and attachment?
28 >
29 >
30 >> Am Mittwoch, den 23.11.2005, 17:28 +0000 schrieb Neil Bothwick:
31 >>> On Wed, 23 Nov 2005 11:58:40 -0500, Leonard - Gentoo wrote:
32 >>>
33 >>> > Is it possible to send an attachment using the 'mail' command say in a
34 >>> > cronjob? i have a file that i would like sent to me before deleted and
35 >>> > recreated to examine it.. but 'man mail' doesnt exactly suggest that
36 >>> > an
37 >>> > attachment is possible
38 >>>
39 >>> I don't believe mail will do this, unless you encode the attachment and
40 >>> incorporate it into the mail yourself. mail-client/nail seems to do what
41 >>> you want, describing itself as 'an enhanced mailx-compatible mail
42 >>> client'.
43 >>
44 >> Or use just this:
45 >>
46 >> emerge mutt
47 >>
48 >> Than in a script you might use something like this:
49 >>
50 >> echo "Content" | mutt -s "Subject" -a file someone@×××××××××.com
51 >>
52 >>>
53 >>>
54 >> --
55 >> Mit freundlichen Grüßen
56 >>
57 >> Heinz Sporn
58 >>
59 >> SPORN it-freelancing
60 >>
61 >> Mobile: ++43 (0)699 / 127 827 07
62 >> Email: heinz.sporn@××××××××.com
63 >> heinz.sporn@××××××.at
64 >> Website: http://www.sporn-it.com
65 >> Snail: Steyrer Str. 20
66 >> A-4540 Bad Hall
67 >> Austria / Europe
68 >>
69 >>
70 >> --
71 >> gentoo-user@g.o mailing list
72 >>
73 >>
74 >
75 > --
76 > gentoo-user@g.o mailing list
77 >
78 >
79
80 --
81 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] mail command and attachment? Iain Buchanan <iaindb@××××××××××××.au>
Re: [gentoo-user] mail command and attachment? "Mariusz Pękala" <skoot@××.pl>