Professional Documents
Culture Documents
Senha SMTP
Senha SMTP
/usr/local/bin/perl
## use: perl file.pl lista.txt "remetente@mail.com" "assunto" fake.html
$ARGC=@ARGV;
if ($ARGC !=4) {
exit(1);
$sendmail = '/usr/sbin/sendmail';
$sender = $ARGV[1];
$subject = $ARGV[2];
$efile = $ARGV[0];
$emar = $ARGV[0];
$count=1;
open(FOO, $ARGV[3]);
@foo = <FOO>;
while(<BANDFIT>) {
($ID,
$options) = split(/\|/,$_);
chop($options);
foreach ($ID) {
$recipient = $ID;