in reply to cant send a mass email

I don't know anything about Net::SMTP, but might the problem be the single quotes you put around the address when you do push(@email, "'$val'");? Try using push(@email, $val); instead and see if it works.

Update: Silly me, didn't realize the problem. Anyway, you could probably use an eval to solve the problem, but as others said, a loop would be easiest (and most reliable).