Subject: | Associate host:port with email that it sent |
Thank you for your responses and fixes.
Is it possible to see the sending server's host and port at the mail
received event? Or somehow somewhere access the host:port together with
the email it sent?
$server->reg_cb(
mail => sub {
#### but what host sent this mail? ####
my ($s,$mail) = @_;
warn "Received mail from $mail->{from} to $mail->{to}\n$mail-
Show quoted text
>{data}\n";
},
);
Thanks in advance.