• DDMsgReader: Headers are showing in email body

    From Nigel Reed@1:103/705 to GitLab issue in main/sbbs on Saturday, April 29, 2023 23:40:33
    open https://gitlab.synchro.net/main/sbbs/-/issues/559

    ![image](https://gitlab.synchro.net/main/sbbs/uploads/8c8fa48ad2d0079de17ea60e31e032ff/image.png)Not sure this should be happening.
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Eric Oulashin@1:103/705 to GitLab note in main/sbbs on Sunday, April 30, 2023 11:03:24
    https://gitlab.synchro.net/main/sbbs/-/issues/559#note_3537

    If you can forward me an email like this that I can test with, that would help. --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Eric Oulashin@1:103/705 to GitLab note in main/sbbs on Sunday, April 30, 2023 11:13:28
    https://gitlab.synchro.net/main/sbbs/-/issues/559#note_3538

    If you have an example email that you'd be okay with forwarding to me at my BBS, that would probably help, since these types of header lines aren't coming through if I try to email myself from my Gmail our Hotmail accounts.I'm pretty sure I've seen these types of lines in emails before, and I could have DDMsgReader strip them out by looking for lines that start with "Content-Type:", "Content-Transfer-Encoding:" and other header field labels and strip them out, but I also wouldn't want to strip out any message content that the sender had typed (it's possible that the sender might type something like that - perhaps they're providing an example of email headers or something).
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 to GitLab note in main/sbbs on Sunday, April 30, 2023 12:15:18
    https://gitlab.synchro.net/main/sbbs/-/issues/559#note_3539

    Your message reader shouldn't need to strip anything. This looks to be a MIME-encoded multi-part message and smblib should parse out the "plain-text" part automatically for you.A question for Nelgin: how does this same message display when using the built-in message reader or `msglist.js`?
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Nigel Reed@1:103/705 to GitLab note in main/sbbs on Sunday, April 30, 2023 18:06:05
    https://gitlab.synchro.net/main/sbbs/-/issues/559#note_3542

    When using msglist.js it's the same.![image](/uploads/4f90552199485ee76fcec04ec17d6c0f/image.png)
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Eric Oulashin@1:103/705 to GitLab note in main/sbbs on Sunday, April 30, 2023 18:30:17
    https://gitlab.synchro.net/main/sbbs/-/issues/559#note_3543

    DDMsgReader is simply calling Msgbase.get_msg_body() to get the message body. I would imagine those header lines must be in the message body returned by Synchronet.
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 to GitLab note in main/sbbs on Sunday, April 30, 2023 19:11:50
    https://gitlab.synchro.net/main/sbbs/-/issues/559#note_3544

    So this isn't a DDMsgReader issue. An smbutil dump of the message headers and body text would be helpful to try to root-cause/resolve.
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Nigel Reed@1:103/705 to GitLab note in main/sbbs on Monday, May 01, 2023 00:01:56
    https://gitlab.synchro.net/main/sbbs/-/issues/559#note_3547

    Yes, this looks like a synch issue then. I'll provide you dumps later today. Thanks.
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)