magazzino disordinato di appunti
bmail - spedire email
Bmail è un piccolo programma a riga di comando per spedire posta tramite SMTP. Usato insieme a mpack permette di inviare allegati codificati MIME.
Esempi:
bmail -s mail.tin.it -t test@example.com -f me@somewhere.net -a Prova -b "Testo del messaggio" -h
bmail -s mail.tin.it -t test@example.com -f me@somewhere.net -a Prova -b "Testo del messaggio" -m sound.vbs -c -h
I parametri usati negli esempi:
-s
SMTP Server Name-t
To: Address-f
From: Address-b
Text Body of Message (optional)-h
Generate Headers-a
Subject (optional)-m
Filename (optional) Use file as Body of Message-c
Prefix above file with CR/LF to separate body from header-d
Debug (Show all mail server communications)
Riferimento: Command Line SMTP Mailer for Batch Jobs