Skip to content

Commit

Permalink
Add html mail
Browse files Browse the repository at this point in the history
  • Loading branch information
ciukstar committed Dec 18, 2023
1 parent 52a4b67 commit d7c71be
Show file tree
Hide file tree
Showing 12 changed files with 679 additions and 269 deletions.
10 changes: 10 additions & 0 deletions config/models.persistentmodels
Original file line number Diff line number Diff line change
@@ -1,4 +1,14 @@

InvoiceMail
invoice InvoiceId OnDeleteCascade
status MailStatus
timemark UTCTime
recipient Text
recipientName Text Maybe
sender Text
senderName Text Maybe
subject Text
body Text

ItemBook
item ItemId OnDeleteCascade
Expand Down
2 changes: 2 additions & 0 deletions messages/en.msg
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
MessageNotSent: Message not sent
MessageSent: Message sent
BodyEmail: Body
SubjectEmail: Subject
FromEmail: From
Expand Down
2 changes: 2 additions & 0 deletions messages/fr.msg
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
MessageNotSent: Message non envoyé
MessageSent: Message envoyé
BodyEmail: Corps
SubjectEmail: Sujet
FromEmail: De
Expand Down
2 changes: 2 additions & 0 deletions messages/ro.msg
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
MessageNotSent: Mesajul nu a fost trimis
MessageSent: Mesaj trimis
BodyEmail: Mesaj
SubjectEmail: Subiect
FromEmail: De la
Expand Down
2 changes: 2 additions & 0 deletions messages/ru.msg
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
MessageNotSent: Сообщение не отправлено
MessageSent: Сообщение отправлено
BodyEmail: Текст
SubjectEmail: Тема
FromEmail: Отправитель
Expand Down
3 changes: 3 additions & 0 deletions package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@ dependencies:
- lens-aeson
- wreq
- mime-mail
- http-client
- safe-exceptions
- HPDF


# The library contains all of our application code. The executable
Expand Down
Loading

0 comments on commit d7c71be

Please sign in to comment.