1 |
On Tuesday, November 22, 2016 07:01:36 PM Andrew Lowe wrote: |
2 |
> Hi all, |
3 |
> First up, I'm not an email admin or anything as snazzy so I'm not fully |
4 |
> buzzword compliant. |
5 |
> |
6 |
> What I'm after is a tiny app that will, when called from the prompt, |
7 |
> send an email to any address. I have several apps that take a long time |
8 |
> to run, think Finite Elemental Analysis and Computational Fluid |
9 |
> Dynamics, and I want something that can send me an email upon success or |
10 |
> failure. I can wrap everything up in a script, it's the actual email |
11 |
> sending that I'm looking for advice on. |
12 |
> |
13 |
> Off the top of my head I'm looking for something that is small, think |
14 |
> the sort of thing that someone would write in Python to show off to |
15 |
> their work colleagues and is 79 lines in size. This is going to be |
16 |
> running on a Gentoo machine so Python is there and if I have to add |
17 |
> another small Python package that's fine. |
18 |
> |
19 |
> In turn the recipient address, the mail server, which is my ISP's, etc |
20 |
> along with a text file for the message can be either command line |
21 |
> variables or in a simple config file which is written on the fly by the |
22 |
> original script that ran everything. |
23 |
> |
24 |
> Does anyone know of such a little beasty or is this the reason I've |
25 |
> been looking for to learn Python? |
26 |
> |
27 |
> Thoughts greatly appreciated, |
28 |
> |
29 |
> Andrew |
30 |
|
31 |
|
32 |
Try: |
33 |
* mail-client/mailx |
34 |
Available versions: 8.1.2.20050715-r6 ~8.1.2.20050715-r7 |
35 |
Homepage: http://www.debian.org/ |
36 |
Description: The /bin/mail program, which is used to send mail |
37 |
via shell scripts |
38 |
|
39 |
(Or any of the other ones in virtual/mailx) |
40 |
|
41 |
-- |
42 |
Joost |