IMAP FETCH Subject

前端 未结 3 1418
既然无缘
既然无缘 2021-02-14 05:54

Using IMAP via telnet, I want to be able to extract the subject from the specific given email. Now I know that the fetch command is responsible for getting data from an email.

3条回答
  •  无人及你
    2021-02-14 06:26

    I discovered the answer:

    BODY.PEEK[HEADER.FIELDS (SUBJECT)]

    .PEEK tells it not open it (so /seen isn't set).

提交回复
热议问题