8

Is it possible to bold some text when sending a plain text email via PHP? Saw something that you could use

*bold*

But it doesn't seem to be working...

keeg
  • 3,990
  • 8
  • 49
  • 97

2 Answers2

13

Nope. Plain text is plain text.

You maybe thinking of a framework like markdown (which is what stackoverflow uses) to compile something like ** text ** into:

<strong>text</strong>

Like so: text. But the result would have to be HTML.

Jere
  • 3,377
  • 1
  • 21
  • 28
3

The only way to get this working is if your email client supports this type of format since plain text is just... well, text. You can even write in BBcode if your email client supports it. Of course that if you write something for someone using this "super client", the receiver will only be able to see the formatting if they also have the client installed.

WoLfulus
  • 1,948
  • 1
  • 14
  • 21