Adding shortcodes causes emails to not send
-
We are using the free version of the plugin. We created pdf versions of our blog posts and added them to our site in a specific directory (example below). We wanted to add a link to that PDF to be included in the comment notifier.
Our notification is set to trigger on “New Comment Awaiting Moderation”. The body of our message is as follows:
A new comment on the post “[post_title]” is awaiting your approval:
[permalink]
Author: [comment_author] (IP address: [comment_author_IP])
Email: [comment_author_email]
URL: [comment_author_url]
Comment:
[comment_content]This works great. What we want to do, however, is add the link to our PDF. The URL to the pdf is [global_site_url]/blog-post-pdfs/[postslug].pdf. So an example of one can be seen on our staging site at:
The problem occurs when we add the following text to our email.
You can review a PDF version of this post here:
[global_site_url]/blog-post-pdfs/[post_slug].pdfWhen we do that. No emails are ever sent. The notification just stops working. When we remove those two lines of text/shortcodes then the emails send again just fine.
Any ideas why this is happening?
- The topic ‘Adding shortcodes causes emails to not send’ is closed to new replies.