github.com/rothskeller/wppsvr@v1.8.9/analyze/testdata/plain/notplaintext.yaml (about)

     1  # Message is not in plain-text format.
     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="XX"
    10  
    11  
    12    --XX
    13    Content-Type: text/plain
    14  
    15    Test message
    16  
    17    --XX
    18    Content-Type: text/html
    19  
    20    <div>Test message</div>
    21  
    22    --XX--
    23  
    24  # Analysis that should be stored:
    25  stored:
    26    deliveryTime: 2022-01-09T20:00:00-08:00
    27    fromAddress: kc6rsc@w1xsc.ampr.org
    28    fromCallSign: KC6RSC
    29    fromBBS: W1XSC
    30    jurisdiction: SNY
    31    messageType: plain
    32    summary: not a plain text message
    33    score: 50
    34  analysisREs:
    35    - not a plain text message
    36  
    37  # Messages that should be sent in response:
    38  responses:
    39    - localID: TUE-101P
    40      to: kc6rsc@w1xsc.ampr.org
    41      subject: 'DELIVERED: RSC-100P_R_Hello'
    42      bodyREs:
    43        - ^!LMI!TUE-100P!DR!01/11/2022 20:00:01\n