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

Can't manually set email headers

Open mikecabana opened this issue 3 years ago • 4 comments

I'd like to be able to solve the following use case

$to = "[email protected]";
$header = "FROM: John Doe<[email protected]>";  <------ ex: set the FROM value with a name
$message = "Your message here.";
$subject = "Your subject";

As of now it looks like the FROM defaults to WordPress

mikecabana avatar May 18 '21 16:05 mikecabana