github.com/rothskeller/wppsvr@v1.8.9/analyze/testdata/invalid/badmultipart.yaml (about)

     1  # Message with ill-formed multipart encoding.
     2  
     3  # Message being analyzed:
     4  message: |
     5    From: kc6rsc@w1xsc.ampr.org
     6    To: pkttue@w4xsc.ampr.org
     7    Date: Sun, 09 Jan 2022 20:00:00 -0800
     8    Subject: RSC-100P_R_Hello
     9    Content-Type: multipart/alternative; boundary="X"
    10  
    11  
    12    --X
    13    Content-Type: text/plain
    14  
    15    Hello, world!  There is no terminator on this multipart part.
    16  
    17  # Analysis that should be stored:
    18  stored:
    19    deliveryTime: 2022-01-09T20:00:00-08:00
    20    fromAddress: kc6rsc@w1xsc.ampr.org
    21    summary: message could not be parsed
    22  analysisREs:
    23    - RFC-5322
    24    - "multipart: NextPart: EOF"