Why does the CPAN doc along with many other web articles say you can use cc and bcc with Net:SMTP like so
but when i do i get an error...
does cc & bcc exist or not and if so what wrong with my syntax, because doing ...
works fine for a standard TO address. so why should cc & bcc not be working? any ideas.
Code:
$smtp->cc('email@domain.com');
$smtp->bcc('email@domain.com');
Code:
Can't locate object method "cc" via package "Net::SMTP"
Can't locate object method "bcc" via package "Net::SMTP"
does cc & bcc exist or not and if so what wrong with my syntax, because doing ...
Code:
$smtp->to('email@domain.com');
works fine for a standard TO address. so why should cc & bcc not be working? any ideas.