pustakakoran

Kirim email dan attach file via bash

Sep 18th, 2019
114
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. echo "This is the message body" | mailx -a fotoawang.jpg -s "subject of message" pustakakoran@gmail.com
  2.  
  3. echo "This is the message body" | mailx -a banjarmasinpost"$TODAY".jpg -s "banjarmasinpost"$TODAY"" ebanjarmasinpost.postingekbp@blogger.com
  4.  
  5.  
  6. harus lengkap seperti di atas
RAW Paste Data