Commit Graph

4 Commits

Author SHA1 Message Date
Guilherme Rugai Freire
30b727b9ce
parse mail content-enconding on text/* mails
before, if the mail content-type was text, it would not consider the
content encoding, only if it was multipart.

now this step on the mail parsing is performed both on multipart mails
and in text mails
2024-07-18 12:37:19 -03:00
Guilherme Rugai Freire
444e3d877e
fix plain txt mails not parsing the mail body
the problem was that it was declared a byte array (txt) with
essentially size 0 and calling Read(txt). Since Read reads n
bytes up to sizeof(txt), nothing was being read.
2024-07-17 11:27:02 -03:00
Guilherme Rugai Freire
52b3fa61ca
style web pages 2024-07-10 16:02:03 -03:00
Guilherme Rugai Freire
bf21d05b6d
refactor web_server code
- Move mail functions to its own packages;
- Move bigger router functions to its own functions, and separate
  router creation from main function;
- Edit the algorithm that choses the format will be chosen with
  regards to format preference to a simples one.
2024-03-19 11:30:25 -03:00