Welcome to the Monastery | |
PerlMonks |
Re: DNS problems with Mail::SPFby rizzo (Curate) |
on Aug 02, 2018 at 08:55 UTC ( [id://1219685]=note: print w/replies, xml ) | Need Help?? |
my $ip = $mail->header("X-IP"); Did you check if $ip has a reasonable value(the sender's IP address)? As far as I know, header names starting with "X-" are non-standard, so they may exist but they do not necessarily. I'd bet that an empty string is causing you the trouble.
In Section
Seekers of Perl Wisdom
|
|