I realize priority headers are something of the past for the most part, but I was wondering if it’s possible to add additional headers (eg. Priority Flag) to an email sent from Webform (Drupal 8 version)?
Similar to this question – https://www.drupal.org/forum/support/post-installation/2013-08-29/adding-priority-flag-to-email-sent-by-webform-module
I understand this is possible with a remote post, but this is strictly for sending an email.
Any help is apprciated.
Just for context, here is how it can be set strictly in a PHP email.
$ headers = "MIME-Version: 1.0\n" ; $ headers .= "Content-Type: text/html; charset=\"iso-8859-1\"\n"; $ headers .= "X-Priority: 1 (Highest)\n"; $ headers .= "X-MSMail-Priority: High\n"; $ headers .= "Importance: High\n"; $ to = 'bob@email.com'; $ subject = 'High Importance Email Testing'; $ message = 'Testing email importance, please ignore'; $ status = mail($ to, $ subject, $ message,$ headers);
Thank you in advance