mabbacc.com

'command'에 해당되는 글 1건

  1. 2010/04/10 리눅스 커맨드 쉘에서 한줄로 Email 보내기

역시 리눅스.

리눅스에서 한줄로 Email 보내기
원본 : http://www.zulfanruri.com/ko/mengirim-email-dari-command-line-menggunakan-account-gmail-atau-yang-lain.htm


우분투에서 해보기
1. send Email 설치하기

cmd > apt-get install sendEmail



2. TLS 지원하기 위하여 Net::SSLeay perl 과 IO::Socket::SSL perl 설치하기

cmd > apt-get install libnet-ssleay-perl
cmd > apt-get install libio-socket-ssl-perl



준비 끝!

cmd > sendEmail -f [from-email] -t [to-email] -s smtp.gmail.com -o tls=yes -xu [username] -xp [password] -u "제목입니다. - This is test email" -m "메일내용입니다. \n 작업 끝났습니다."


-f : 보내는 사람 메일 주소
-t : 받는 사람 메일 주소
-s : SMTP 서버
-o tls=yes : TLS 사용
-xu 사용자 이름
-xp 비밀번호
-u 제목
-m 내용



신기하군요~

크리에이티브 커먼즈 라이센스
Creative Commons License
2010/04/10 13:36 2010/04/10 13:36
Posted by mabbacc
My Space l 2010/04/10 13:36
1 

카테고리

전체 (84)
Notice (1)
My Angels (1)
My Space (40)
My Entertainments (10)
My Spirits are made of ... (10)
Do not touch me. (0)
My VIM (5)
My Workstation (11)
My Mac Life (3)
My Will (0)

달력

«   2012/05   »
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31    
Textcubeget rsslazylogs

공지 사항

최근에 달린 댓글

최근에 받은 트랙백

Statistics Graph