Guidelines for accepting email messages as input to application

前端 未结 8 1688
粉色の甜心
粉色の甜心 2021-02-01 10:50

A number of applications have the handy feature of allowing users to respond to notification emails from the application. The responses are slurped back into the application.

8条回答
  •  栀梦
    栀梦 (楼主)
    2021-02-01 11:36

    EDIT: I misunderstood your question.

    You could configure your email server to catch-all, and generate a unique reply-to address. E.g. CST-2343434@example.com.

    A polling process on the server could read the inbox and parse out the relevant part from the received email, CS-2343434 could mean Customer Support ticket ID no. 2343434.

    I implemented something like this using JavaMail API.

    Just a thought.

提交回复
热议问题