How to perform an action when replying to an email

Asked

Viewed 79 times

3

In some systems I see a very interesting feature, such as:

I get a message on and he sends me an email with the message, and I can reply to the message by simply replying to the email.

How does this work? What I need to research?

1 answer

5


The secret is in the subject line or email address used for sending, which contains a token that serves to identify the message.

To implement such functionality on your own, you need to master various subjects, including:

  • generation and storage of tokens in DB, or some storage system;
  • sending email through your system;
  • receive an email programmatically on your system, or implement an SMTP server;
  • processing of this email to retrieve the desired information, identify the correct token and reinsert your system.

Of course that’s just a starting point.

  • Thank you very much @Bacco, you helped a lot :)

Browser other questions tagged

You are not signed in. Login or sign up in order to post.