Send email via auth'd IMAP from command line
Hello,
I was wondering whether there are any programs out there that will run from the command line and allow me to specify a subject, recipient, IMAP server, username, and password, and pipe in a file for the body of the message?
I need to setup email from a script on a remote server, but would rather not configure postfix if posible. I already have a fully functioning IMAP server at another location which is setup to use authentication. I'm looking for an easy way to have a shell script on a remote machine send email via a specific account on the IMAP server.
Does anything exist to do this?
Thanks,
Jason
|