How can I use shell scripting to send email using SMTP authentication
Posted on 2008-10-14
I have a need to be able to send a text email to various recipients from a linux box, but must use SMTP authentication to send it. I have done this countless times in Win32 using VBScript and CDO, but just can't find the right guide to show me how to get this accomplished under linux using bash scripting.
is there a simple 1-2-3 method of putting something together that will accept a username/password for sending email from a script? it needs to be non-interactive, as this will be run from various nightly tasks on the server.