Posted on 2015/03/18 18:33
Filed Under 프로그래밍/쉘프로그램 조회수: view 11459

function sendhtmlmail {
export MAILTO=”$1”
export SUBJECT=”$2”
export BODY=”$3”
(
echo “From: =?EUC-KR?B?$(echo $SUBJECT| base64)?=
echo “To: $MAILTO”
echo “Subject: =?EUC-KR?B?$(echo “$SUBJECT” | base64)?=”
echo “MIME-Version: 1.0”
echo “Content-Type: text/html; charset=EUC-KR”
echo “Content-Disposition: inline”
cat $BODY
) | sendmail $MAILTO
}

Writer profile
author image
-아랑 -
2015/03/18 18:33 2015/03/18 18:33

트랙백 주소 : 이 글에는 트랙백을 보낼 수 없습니다

About

by 서진우
Twitter :@muchunalang

Counter

• Total
: 4198963
• Today
: 663
• Yesterday
: 1537