使用Net::SMTP_auth发邮件,首先要先安装Net::SMTP_auth模块。
1. Windows Operating System:如果是在windows操作系统使用的ActivePerl的话,则进入ActivePerl的安装目录的可执行程序目录,也就是bin目录。
C:\>ppm-shell
ppm> install Net::SMTP_auth
Downloading ActiveState Package Repository packlist...done
Updating ActiveState Package Repository database...done
Syncing site PPM database with .packlists...done
Downloading Net-SMTP_auth-0.08...done
Downloading Authen-SASL-2.16...done
Unpacking Net-SMTP_auth-0.08...done
Unpacking Authen-SASL-2.16...done
Generating HTML for Net-SMTP_auth-0.08...done
Generating HTML for Authen-SASL-2.16...done
Updating files in site area...done
24 files installed
ppm>