chore(email): set name for pdf file attachment
This commit is contained in:
parent
1a67063ec3
commit
7a532e9778
@ -74,10 +74,10 @@ dispatchNotificationQualificationRenewal nQualification jRecipient = do
|
||||
$logErrorS "LMS" msg
|
||||
error $ unpack msg
|
||||
Right pdffile -> do
|
||||
addPart (File { fileTitle = "Renewal Pin Letter"
|
||||
, fileModified = now
|
||||
, fileContent = Just $ yield $ LBS.toStrict pdffile
|
||||
} :: PureFile)
|
||||
addPart (File { fileTitle = "RenewalPinLetter.pdf" -- TODO: better file title!
|
||||
, fileModified = now
|
||||
, fileContent = Just $ yield $ LBS.toStrict pdffile
|
||||
} :: PureFile)
|
||||
-- TODO: this is just a dummy to continue while i18nHamletFile usage is unclear
|
||||
addHtmlMarkdownAlternatives $(ihamletFile "templates/mail/qualificationRenewal.hamlet")
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user