How do I CC a person/people a mail which I send?? What if I have to retrieve the email addresses from text boxes??
$sender = 'abc@abc.com'
$recipient = 'xyz@abc.com'
print MAIL "From: $sender\n";
print MAIL "To: $recipient\n";
if I have to send the same mail to more than one person than abc, how do I do it??
I have 2 textbox fields where the email addresses are entered.
I tried.
$sender = 'xyz@abc.com, $query->param('txtEmail1'), $query->param('txtEmail2') '
but it gave me an error.
Thanks
Thanks
$sender = 'abc@abc.com'
$recipient = 'xyz@abc.com'
print MAIL "From: $sender\n";
print MAIL "To: $recipient\n";
if I have to send the same mail to more than one person than abc, how do I do it??
I have 2 textbox fields where the email addresses are entered.
I tried.
$sender = 'xyz@abc.com, $query->param('txtEmail1'), $query->param('txtEmail2') '
but it gave me an error.
Thanks
Thanks