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:
-sSMTP Server Name-tTo: Address-fFrom: Address-bText Body of Message (optional)-hGenerate Headers-aSubject (optional)-mFilename (optional) Use file as Body of Message-cPrefix above file with CR/LF to separate body from header-dDebug (Show all mail server communications)
Riferimento: Command Line SMTP Mailer for Batch Jobs