我正在向 gmail 帐户发送一封带有 PHP 的电子邮件。
$message =
"Hi Mario
Today Luigi tried to <b>eat</b> <span style="font-size:8px">Toad</span>.
I am so sorry that formating gmail is not standard. This mail will display the breaks made,
like in heredoc, but not the html. Help me understanding to format E-mails for
Gmail-receivers.
It's a me
Greetings,
Wario";
mail("mario@gmail.com", "Betreff: Luigi nibbled Toad",
$message, "From: itsame@myphpmail.com" );
我们如何格式化 Gmail 接收者看到的预格式化文本,如 font-size/weight/etc...?