December 7th, 2013, 01:24 AM
Help! Creating a custom function that sends a mail.
The function will be called m and it will allow you to send an email to someone using the mail command. The function should take the To: address, a Cc: address using the –t parameter, a subject line using the –s parameter and an input file. When running this function, you will type something like the following as an example:
m firstemailhere secondemailhere subjecthere someinputfile
I could really use a bit of help here... I'm not sure how to approach this. I thought it'd be something like this:
But it doesn't seem to be working...
December 9th, 2013, 12:46 PM
Perhaps if you first get familiar with the syntax of the 'mail' command, then you can try and code whatever.
Originally Posted by Drucian