Title: Shortcode not working as expected
Last modified: December 4, 2020

---

# Shortcode not working as expected

 *  Resolved [scody](https://wordpress.org/support/users/scody/)
 * (@scody)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/shortcode-not-working-as-expected-2/)
 * Hello,
 * We just created Abandoned cart email for which we used the shortcode with a default
   value as below,
 * [subscriber:firstname | default:subscriber]
 * Although the subscriber who received this email had his firstname in the list,
   the email was sent with the default value “subscriber”.
 * Please help me resolve this issue.
 * Thanks in advance.

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [gnrocha](https://wordpress.org/support/users/gnrocha/)
 * (@gnrocha)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/shortcode-not-working-as-expected-2/#post-13756031)
 * Hi,
 * Having the same problem on regular newsletters. The same shortcode [subscriber:
   firstname | default:reader] is used on the subject line and the newsletter body.
   The subject line is using the default value (even when the queued newsletter 
   shows the proper shortcode). After submission, the subject line changes to show
   just the default value.
 * The same thing happens if I edit an already scheduled email (it changes the subject
   line to the default value).
 * This is a new behaviour, have been using MailPoet for a while now, problems started
   a few weeks ago.
 *  [Wysija](https://wordpress.org/support/users/wysija/)
 * (@wysija)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/shortcode-not-working-as-expected-2/#post-13840411)
 * Hi [@scody](https://wordpress.org/support/users/scody/) and [@gnrocha](https://wordpress.org/support/users/gnrocha/),
 * This was a known issue and has been fixed on MailPoet version 3.56.
 * You just need to UPDATE the plugin and everything should be working as expected
   again.
 * Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Shortcode not working as expected’ is closed to new replies.

 * ![](https://ps.w.org/mailpoet/assets/icon-256x256.png?rev=3284564)
 * [MailPoet - Newsletters, Email Marketing, and Automation](https://wordpress.org/plugins/mailpoet/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/mailpoet/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/mailpoet/)
 * [Active Topics](https://wordpress.org/support/plugin/mailpoet/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/mailpoet/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/mailpoet/reviews/)

## Tags

 * [shortcode](https://wordpress.org/support/topic-tag/shortcode/)

 * 2 replies
 * 3 participants
 * Last reply from: [Wysija](https://wordpress.org/support/users/wysija/)
 * Last activity: [5 years, 4 months ago](https://wordpress.org/support/topic/shortcode-not-working-as-expected-2/#post-13840411)
 * Status: resolved