I am trying to set up a campaign in EXM to send an email based on a Sitecore page. However, when I get to the message part I am unable to set the subject line.

enter image description here

I have added the "Set Page Title" rendering up on the presentation of the item.

enter image description here

and I have this code in my view.

 <meta name="viewport" content="width=device-width" />

But I am still unable to set the subject line. What am I missing?

1 Answer 1


The "Existing Page" EXM template uses the target page's browser title (i.e.<html><head><title>...) to determine the email's subject. Is it possible that you aren't outputting a title for this page?

In any case, I don't believe that the Set Page Title rendering is intended to be placed on to items in your content tree. Sitecore documentation has you place it on the message root's presentation details (ex: /sitecore/templates/Branches/System/Email Campaign/Messages/Custom newsletter/Monthly newsletter/Name/Message root).

The Set Page Title rendering is an Xsl Rendering that points to /xsl/EmailCampaign/Set Page Title.xslt in your webroot. This file simply renders the "Subject" field off the email message item.

  • You are indeed correct. It just needs a title field. This thread about EXM Subject Field blank sent me off in the wrong direction. Thanks for the correction!
    – ToddB
    Sep 7, 2018 at 3:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.