X-Git-Url: http://gitweb.michael.orlitzky.com/?p=dead%2Fhalcyon.git;a=blobdiff_plain;f=src%2FMail.hs;h=c93a6cff2e9cc53e11e96e9b0e4c36f7733b17fd;hp=3304d7677dd501734b027bf43158876cc6672a6e;hb=376e4ed1f16a0fe5a4d100877c618d85e20a9b8f;hpb=6954f707adaa34e2fdc6df78b6bcce79e35279ee diff --git a/src/Mail.hs b/src/Mail.hs index 3304d76..c93a6cf 100644 --- a/src/Mail.hs +++ b/src/Mail.hs @@ -22,6 +22,10 @@ data Message = Message { headers :: [Header], to :: String } deriving (Eq) +default_headers :: [Header] +default_headers = ["MIME-Version: 1.0", + "Content-type: text/plain; charset=UTF-8"] + -- |Showing a message will print it in roughly RFC-compliant -- form. This form is sufficient for handing the message off to -- sendmail.