Embed HTML table in email

前端 未结 5 2121
攒了一身酷
攒了一身酷 2021-02-14 11:16

Is it possible to send a table (coded in html) as the body of an email so that the recipient is able to view the table (parsed and displayed).

For example, I want to be

5条回答
  •  生来不讨喜
    2021-02-14 12:07

    You can create the table in HTML, open it up in a browser and copy & paste it into Outlook (based on the extra information you've provided in comments)

    Outlook will make sense of your HTML, and provide in the same format as you pasted it.

    If the client is using a text only e-mail (less likely nowadays - with most smartphones parsing HTML emails) then it will just appear a similar way to:

    Header| Header 2 | Header 3
    Test  | test     |  Test
    Test  | test     |  Test
    Test  | test     |  Test
    

    Without any styling.

提交回复
热议问题