UPWORK/ODESK guru: Tips and Tricks for clients

skype: upwork.link , email: info@upwork.link

Using sendmail from bash script for multiple recipients

without comments

#!/bin/sh
recipients='info@odesk.by'
subject='vh36 test sendmail'
from='redmine@redmine.odesk.by'
/usr/sbin/sendmail "$recipients" <<EOF
subject:$subject
from:$from
vh36 test sendmail
EOF

Written by spectre

November 2nd, 2013 at 12:29 pm

Leave a Reply

*