A little mail & news implementation.
4: "fromadr@email"
3: "toadr@email"
2: "The subject"
1: "The body of the letter"
and launch 'sendmail'. The message is now in Unsent.( If some error happen, you should get a warning during the post, and the whole error message + the body of the message are send to you in Inbox (as usual) )
{ { "pop.mail.fr" { { "mum" "herpass" 1 1 } { "dad" "hispass" 0 1 } ... } }
{ "pop.isp.uk" { { "toto" "hispass" 1 0 } ... } }
...
}
where 1 1 is respectively for "delete mails after reading"
and "fetch only unread mails"
and 0 0 would be "keep them on server after reading"
and "fetch all mails"
and launch 'fetchmail'
NB: It is very important to keep messages on the server when you also read them from another machine.You can now read them in 'Inbox'
{ "From: you@yourhost.com
Newsgroups: comp.sys.hp48
Subject: nothing interesting
hello
Best Regards" ... }
Beware: Don't let a single . on its own line in any message, it would break it.