Detect end of new message in email conversation body

后端 未结 3 515
粉色の甜心
粉色の甜心 2020-12-20 21:40

When a message gets replied or forwared the previous thread gets appended on your new mail by placing i.e. ----Original Message---- in front of it.

Outlook does the

3条回答
  •  清歌不尽
    2020-12-20 22:34

    You could create an array of messages as below:

    Dim arr() As String
    
    arr() = Split(Item.Body, "From:")
    

    Then loop through the messages:

    Dim varElement as variant
    
    for each varElement in arr()
    
    next varElement
    

提交回复
热议问题