I've got a simple link that opens a mail message:

<a href="mailto:help@solutions.com"

If I select a new mail message in Outlook, it opens and works fine, using the "Normal" format style for the body text.

But, with the mailto: link, it opens a new message using "Paragraph" format style for the body text.

Any ideas how to get Outlook to use "normal" instead of "paragraph" from a mailto: href link?

Dani AI

Generated

Short answer for (and good catch from ): you cannot force Outlook to pick a particular Word style from a simple mailto link. The mailto URI only supplies header fields and a plain-text body; the recipient client (Outlook) decides how to open the message and which Word style to apply. That behavior is controlled on the client (Outlook/Word) side, not by the HTML page. (rfc-editor.org)

Quick checks and a small developer workaround:

  • Make sure your anchor is valid (close the tag) as suggested — malformed HTML can leave stray characters that affect what the mail client receives.
  • If you prefill text with the mailto body, avoid leading blank lines and use percent-encoding for line breaks (%0D%0A). Example (encoded body, no leading CRLF):
<a href="mailto:help@solutions.com?subject=Help%20request&body=Hello%2C%0D%0APlease%20advise.">Email support</a>

Encoding/usage rules for mailto: are defined in the RFC — use short, simple bodies because behavior varies by client. (datatracker.ietf.org)

If you control the Outlook client (or can instruct users): set the message format and default body style in Outlook so new messages (including mailto-initiated ones) use your preferred style. In a new message put the cursor in the body, go to Format Text → Change Styles (or open Styles/Manage Styles), adjust Normal/+Body or paragraph spacing, then choose “Set as Default.” That persists to the NormalEmail template and usually fixes the Paragraph vs Normal issue. Test replies vs new messages separately — Outlook treats them differently. (slipstick.com)

If consistent, styled HTML content is required for all recipients, stop relying on mailto and use a contact form or server-side mail send (mailto cannot set content-type, add attachments, or reliably control formatting across clients). For short, user-editable invites mailto is fine; for guaranteed styling, send the message from your server or use a web compose UI. (premium.aa.com)

Make sure to close the <a> tag. The one you posted above isn't closed.

Also, consider span tags inside the <a> tags because some clients otherwise default to their skin colors. For instance, gMail (I think) causes all links to stay blue even if you inline-style a different color UNLESS a span is inside the a tag.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.