C
C
ChemAli2013-03-26 15:42:25
Computer networks
ChemAli, 2013-03-26 15:42:25

Broadcast messages from e-mail to the site (response to a comment by e-mail)

Task: to organize an alternative communication channel via e-mail. That is, I receive a notification about the comment by e-mail, I just click "Reply", write the answer and send it, after which my answer appears on the site.

Am I seeing the solution correctly?

The notification letter comes with a special header reply-to, where the e-mail and the identifier of the dialogue are sewn, for example, [email protected] Boxes are not created on the mail server, and all incoming messages are marked as “user not found” and are sent to a specific mailbox, from where they are parsed by an additional process that verifies the answers and decomposes them into the database.

Or, perhaps, it is more correct to set up a sorting rule for such letters on the mail server?

Or did I come up with everything crookedly and there are other, greener ways?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
G
grossws, 2013-03-26
@ChemAli

Usually one box is used for these purposes. In the local-part, after the username, for example, + then specific information is written (token, thread id, where to post: [email protected]). With proper MTA configuration, such letters fly to one account, and according to the information in the local-part, in-app routing is already being done. When sending out, this is hidden in the Reply-To header.
See RFC5233 - Sieve Email Filtering: Subaddress Extension . Postfix supported it.

F
Fyodor, 2013-03-26
@Richard_Ferlow

I see it like this, for example
, there is a box from which you receive messages and in the subject of the letter, let's say id + the secret key of this issue.
you reply to a letter - it goes to the box that is checked at a specified frequency by the script and takes your answer from incoming letters and adds it to the database. well in a box the white list of addressees to configure.

K
Kane, 2013-03-26
@Kane

There are services that can receive mail for you and, upon receipt, pull a certain link. For example, postmarkapp.com

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question