Skip to main content

Name

ec_dk_responsible_domain — Return the responsible domain for the current message

Synopsis

ec_dk_responsible_domain

Description

ec_dk_responsible_domain returns a string containing the responsible domain of the current message. This can be used as an argument to the ec_dk_sign extension.

Note

This feature requires the DomainKeys module. See “domainkeys – Yahoo! DomainKeys” for more information.

$responsible = ec_dk_responsible_domain;
if ec_test :is "foo.com" $responsible {
  ec_log "foo.com is responsible for this message.";
}
else {
  ec_log "foo.com is not responsible for this message.";
}
Was this page helpful?