Does anyone know how to send emails with attachments from the command line? I've replaced sendmail with ssmtp and I can send plain messages with mail, but I don't know how to go about preparing MIME encoded emails. Any pointers? Cheers Ashley