Hi @vividground
Thank you for response!
Can you try one more thing, please?
Replace the < and > characters in subject with with their HTML encoded versions, like this (no spaces)
{name-1} – On Page Enquiry <assign [email protected]> <assign [email protected]>
This will make e-mail be sent but I’m not sure if Clickup is able to parse HTML encoded characters. I’m assuming it should be but please give it a go.
If it still doesn’t work, then keep the subject this way but additionally add this code to the site as MU plugin:
<?php
add_filter( 'wp_mail', 'wpmu_frmt_clickup_mail', 10, 1 );
function wpmu_frmt_clickup_mail( $args ) {
if ( stripos( $args['subject'], 'On Page Enquiry' ) ) {
$args['subject'] = html_entity_decode( $args['subject'] );
}
return $args;
}
To add it:
– create an empty file with a .php extension (e.g. “forminator-clickup-mail.php”)
– copy and paste code into it
– make sure that the “On Page Enquiry” string in that code is the string that is used in actual e-mail subject (I referred to your example but if it’s different, do update it)
– save the file and upload it to the “/wp-content/mu-plugins” folder of your site’s WP install
This should work, I believe, because e-mails are delivered with this code (and that specific subject settings) in correct format.
Best regards,
Adam