Forum Moderators: phranque
A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:
example@gmail.com
(ultimately generated from example@example.com)
host gmail-smtp-in.l.google.com [xxx.xxx.xxx.xx]
SMTP error from remote mail server after end of data:
550-5.7.26 Unauthenticated email from yahoo.com is not accepted due to domain's
550-5.7.26 DMARC policy. Please contact the administrator of yahoo.com domain
550-5.7.26 if this was a legitimate mail. Please visit
550-5.7.26 [support.google.com...] to learn about the
550 5.7.26 DMARC initiative. u3si8404181oic.218 - gsmtp
# param is mapped to %contents
$mailprog = '/usr/sbin/sendmail';
open(MAIL,"|$mailprog -t");
print MAIL 'To: example@example.com\n";
print MAIL "From: $contents{'email'} ($contents{'name'})\n";
print MAIL "Subject: Blah Blah Blah\n\n";
print MAIL "$contents{'comment'}\n\n";
close (MAIL); using the sender's email address as the "From" field