Re: SMTP Problem

2002-04-08 Thread fliptop
[EMAIL PROTECTED] wrote: > > foreach(my $ref = $sth->fetchrow_hashref()) { > print qq($ref->{'pager'}); > use Net::SMTP; > my $smtp = Net::SMTP->new('mailhost', Hello => 'hawkeye.dmtn.com', Debug > => 1,); > $smtp->mail ( $ref ); # mail($ref);#->{'pager'}); i don't think you w

SMTP Problem

2002-04-08 Thread ROBERT_MCCAMMON
Hello, I am having difficulty, while using strict, to pull an email address out of a hash from a MySQL querry. I can get it to print out the result but not the same to go into a Net::SMTP packet. I am using strict foreach(my $ref = $sth->fetchrow_hashref()) { print qq($ref->{'pager'