- 論壇徽章:
- 0
|
利用SendEmail來(lái)發(fā)郵件
About SendEmail
SendEmail is a lightweight, command line
SMTP email client. If you have the need to send email from a command
line, this free program is perfect: simple to use and feature rich. It
was designed to be used in bash scripts, batch files, Perl programs and
web sites, but is quite adaptable and will likely meet your
requirements. SendEmail is written in Perl and is unique in that it
requires NO MODULES. It has an intuitive and flexible set of
command-line options, making it very easy to learn and use.
[Supported Platforms: Linux, BSD, OS X, Windows 98, Windows NT, Windows 2000, & Windows XP]
Download
Official Release:
sendEmail-v1.56.tar.gz
(29kb Sep 29th, 2009)
Changelog
Screen Shot
Windows Download:
Free sendEmail.exe for Windows. To use simply run sendEmail.exe from a console / command line.
sendEmail-v156-notls.zip
(677kb Sep 29th, 2009) No TLS support
sendEmail-v156.zip
(1.4mb Sep 29th, 2009) TLS supported
功能比較強(qiáng)大,是基于perl語(yǔ)言寫的。
下載最新版 wget http://caspian.dotconf.net/menu/Software/SendEmail/sendEmail-v1.56.tar.gz
安裝方法:
1) Extract the package
tar -zxvf sendEmail-v1.XX.tar.gz
2) Copy the sendEmail script to /usr/local/bin
cp -a sendEmail-v1.XX/sendEmail /usr/local/bin
3) Make sure its executable
chmod +x /usr/local/bin/sendEmail
4) Run it
sendEmail
or
/usr/local/bin/sendEmail
An Email Program for Sending SMTP Mail from a Command Line
About
|
Download
|
Installation
|
TLS
|
FAQ
|
Releases
About SendEmail
SendEmail is a lightweight, command line
SMTP email client. If you have the need to send email from a command
line, this free program is perfect: simple to use and feature rich. It
was designed to be used in bash scripts, batch files, Perl programs and
web sites, but is quite adaptable and will likely meet your
requirements. SendEmail is written in Perl and is unique in that it
requires NO MODULES. It has an intuitive and flexible set of
command-line options, making it very easy to learn and use.
[Supported Platforms: Linux, BSD, OS X, Windows 98, Windows NT, Windows 2000, & Windows XP]
Download
Official Release:
sendEmail-v1.56.tar.gz
(29kb Sep 29th, 2009)
Changelog
Screen Shot
Windows Download:
Free sendEmail.exe for Windows. To use simply run sendEmail.exe from a console / command line.
sendEmail-v156-notls.zip
(677kb Sep 29th, 2009) No TLS support
sendEmail-v156.zip
(1.4mb Sep 29th, 2009) TLS supported
RPM Package:
sendEmail rpm
Command Line Options
SendEmail has the following command line options:
![]()
例如:
sendEmail -t zhangyong@XXX.com.cn -f chenwm@XXX.com.cn -s smtp.XXX.com:25 -xu username -xp passward -m MESSAGE -u SUBJECT
這樣可以通過(guò)本地linux上對(duì)外發(fā)郵件?梢园驯镜氐膕endmail關(guān)閉了,service sendmail stop
參考:http://caspian.dotconf.net/
本文來(lái)自ChinaUnix博客,如果查看原文請(qǐng)點(diǎn):http://blog.chinaunix.net/u1/40226/showart_2138299.html |
|