This article shows how to send e-mails from a shell script, including file attachments. It lists different ways (uuencode, MIME), and explains the advantages and disadvantages of each. The appendix contains a shell script “sendfile” that simplifies sending MIME file attachments using scripts.
Archive for the 'Sendmail' Category
Sending files as mail attachments
Published January 21st, 2008 in Sendmail, Shell and Shell scripting. 0 CommentsSendmail to use SSL encryption for sending/receiving email
Published December 7th, 2007 in Sendmail and openssl. 0 CommentsSendmail can be configured to encrypt email via the secure socket layer (SSL) when sending and receiving messages. This requires the following configuration changes to Sendmail. Frst, SSL requires a valid certificate on the server. This can be obtained from a company which digitally signs the certificate or it can be created locally.
Recent Comments