Sending invoice mails with attachement
This commit is contained in:
18
cmd/micro/invoice/email-templates/invoice.html.gohtml
Normal file
18
cmd/micro/invoice/email-templates/invoice.html.gohtml
Normal file
@ -0,0 +1,18 @@
|
||||
{{ define "body" }}
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta name="viewport" content="width=device-width">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
</head>
|
||||
<body>
|
||||
<p>Hello:</p>
|
||||
<p>Please find your invoice attached.</p>
|
||||
<p>
|
||||
--
|
||||
<br>
|
||||
Widget Co.
|
||||
</p>
|
||||
</body>
|
||||
</html>
|
||||
{{ end }}
|
9
cmd/micro/invoice/email-templates/invoice.plain.gohtml
Normal file
9
cmd/micro/invoice/email-templates/invoice.plain.gohtml
Normal file
@ -0,0 +1,9 @@
|
||||
{{ define "body" }}
|
||||
Hello:
|
||||
|
||||
Please find your invoice attached.
|
||||
|
||||
--
|
||||
Widget Co.
|
||||
{{ end }}
|
||||
|
Reference in New Issue
Block a user