Duplicate Snippet
Embed Snippet on Your Site
Emails via two different Postmark streams based on the email subject
WP Mail SMTP plugin does not directly support selecting a specific Postmark message stream based on the ‘From’ email address. This snippet allows conditional selection of the Postmark mailer message stream based on the email subject.
On line 9, you’ll need to replace WP Forms Subject with the subject of your email. Next, replacewp_forms_message_stream on line 10 with your desired Postmark message stream.
Code Preview
php
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
Comments