Dear monks, I did a perl script that uses 5 smtp servers and sends newsletters to +a recipient All this is done using Parallel::ForkManager to use concurrent connect +ions of 5 smtp servers and until the smtp list is all done it sends f +ine...But now I want to make a perl script that takes the recipient a +ddresses from file like this : #!/usr/bin/perl $fileaddress = $ARGV[0]; open(INFO, $fileaddress); @addresses = <INFO>; close(INFO); $" = ","; chomp @addresses; ... smtp->recipient(@recipients); ... And sends in parallel with 2 smtp servers to 10 recipients and so on u +ntil the $fileaddress is all done...I mean it takes the first 10 emai +l addresses from addresses.txt and sends with the first smtp server b +ut in the same time it sends with the second smtp server to the next +10 email addresses...After this is done it takes the next 2 smtp serv +ers and sends another 10 emails each to 20 different email addresses. +..I want to do this to don't force too much my smtp servers...Please +help
In reply to Net::SMTP newsletter by commonlybon
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |