Hello!
I've got a postcard system running, but undelivered postcards are being bounced back to the admin's email instead of going to the email address of the sender.
Can anyone tell me how to make the bounced postcards go to the sender rather than coming back to me?
Here's the code I'm using - r_email and s_email are recipient and sender's email vars.
my $mail = new GT::Mail (
to => "$r_email",
from => "$s_email",
subject => "$KIWICONFIG->{kc_subject}",
msg => "$body",
smtp => $CFG->{db_smtp_server},
sendmail => $CFG->{db_mail_path},
debug => $Links::DEBUG
) or return 0;
Thanks,
r
I've got a postcard system running, but undelivered postcards are being bounced back to the admin's email instead of going to the email address of the sender.
Can anyone tell me how to make the bounced postcards go to the sender rather than coming back to me?
Here's the code I'm using - r_email and s_email are recipient and sender's email vars.
Code:
my $mail = new GT::Mail (
to => "$r_email",
from => "$s_email",
subject => "$KIWICONFIG->{kc_subject}",
msg => "$body",
smtp => $CFG->{db_smtp_server},
sendmail => $CFG->{db_mail_path},
debug => $Links::DEBUG
) or return 0;
Thanks,
r