how to code a subject line in email, using HTML

Home Forums HTML Questions and Tutorials how to code a subject line in email, using HTML

Tagged: , ,

This topic contains 0 replies, has 1 voice, and was last updated by  Admin 4 months, 1 week ago.

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #166

    Admin
    Keymaster

    Example

    Basic link is as follows:

    <a href=”mailto:email@some-address.com”>Text For Link Here</a>

    To add a pre-filled subject to an email client simply use the “subject=” option in the “mailto:” tag, please note space characters must be added with the “%20” option and “?” to attach the html. Please see the basic enhancement page for furthure info.

    ?subject=Hello%20Joseph

    here is how it would look in your html code:
    <a href=”mailto:email@some-address.com?subject=Hello%20Joseph”>Text For Link Here</a> . In this example when outlook pops up the email will have a pre-filled subject line of “Hello Joseph”.

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.