Hi all, I'm currently pondering a perl script that can mass email clients from a database.. this is what I have so far but I'm very unsure what the best method of actually sending the email is. I want to be able to send HTML e-mail's with a gmail account I have created.
my @email_list = (); open(LIST,'<',"email_database.txt") or die "$!\n"; while(<LIST>){ chomp $_; push(@email_list,$_); } close(LIST); foreach my $address(@email_list){ sendmail($address); } sub sendmail{ my $address = $_[0]; # what should I use here? if( mail was sent ) {return true} }
In reply to mass emailing perl scrpt by Rudolf
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |