wp-graphql-send-mail icon indicating copy to clipboard operation
wp-graphql-send-mail copied to clipboard

feat(headers): added flow for custom headers

Open mikecabana opened this issue 3 years ago • 0 comments

Email setting or query variables will overwrite the custom headers like here

if (isset($from) && !empty($from)) {
    $headers[] = 'From: ' . $from;
} else if (isset($defaultFrom) && !empty($defaultFrom)) {
     $headers[] = 'From: ' . $defaultFrom;
}

Fixes #3

mikecabana avatar May 18 '21 17:05 mikecabana