Help creating dynamic email content
-
Hello,
I am looking to see if this would be possible.
I have made a custom post type with some taxonomies, each custom post will have its own contact form.
I am wanting to know if I can append a custom signature to each email sent via the forms depending on a Taxonomy assigned to the post?
I’d want to do something like
$emailSignature1 = "email signature 1 text here"; $emailSignature2 = "email signature 2 text here"; If 'custom post' has 'taxonomy A' send email signature 1 ($signature = $emailSignature1) or if 'Custom post' has 'taxonomy B' send email signature 2 ($signature = $emailSignature2) // append signature to end of message $message .= $signatureCan you tell me if this is something that can be done please?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Help creating dynamic email content’ is closed to new replies.