matcornic / hermes

Golang package that generates clean, responsive HTML e-mails for sending transactional mail

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Adding newline to Instructions: element

kpikamlesh opened this issue · comments

Hi,
First of all thank you for the package and community.

I just started exploring hermes. I am looking to add multiline message to email. In below code I tried using \n, \r,
\r\n between two sentences in the Instructions element. It does not add separate my two lines. Is there a way to do so?

		Actions: []hermes.Action{
			{
				Instructions: "Google Groups automation just completed SUCCESSFULLY.\rTo view the logs, please click the View Log button.",

-Kamlesh

Same here, I am struggling too