22 lines
537 B
Cheetah
22 lines
537 B
Cheetah
From: {{ .From }}
|
|
To: {{ .To }}
|
|
Subject: {{ .Subject }}
|
|
Date: {{ .Date.Format "Mon, 2 Jan 2006 15:04:05 -0700" }}
|
|
Message-ID: <{{ .UUID }}@{{ .Identifier }}>
|
|
MIME-Version: 1.0
|
|
Content-Type: multipart/alternative; boundary="{{ .Boundary }}"
|
|
|
|
--{{ .Boundary }}
|
|
Content-Type: text/plain; charset="utf-8"
|
|
Content-Transfer-Encoding: quoted-printable
|
|
Content-Disposition: inline
|
|
|
|
{{ .Body.PlainText }}
|
|
{{- if not (eq .Body.HTML "") }}
|
|
--{{ .Boundary }}
|
|
Content-Type: text/html; charset="utf-8"
|
|
|
|
{{ .Body.HTML }}
|
|
{{- end }}
|
|
--{{ .Boundary }}--
|