I'm coding a quick HTML email using Foundation for Emails (http://foundation.zurb.com/emails.html)
The tech stack isn't of huge importance, just highlights what I'm trying to accomplish in general.
Something I'm wondering about is when someone receives my email (through any of a huge number of possible email clients) is it possible for me to specify in my HTML template what the "Subject" line should read?
In case I'm not being clear enough, I'm referring to the teaser text you see in your inbox before opening the actual email:
Like in this instance from Gmail below: the "Your Amazon.com order of "Shovel Knight Amiibo"... text.
Is it possible to specify that text in my HTML template? Or is that handled by a service request?
The mail subject is a header, e.g:
From: John Smith <firstname.lastname@example.org> Subject: Good news!
It isn't taken from the message body so the answer is no.
You need to specify it with whatever program/code you use to actually deliver the message and it has to be plain text.