Answer the question
In order to leave comments, you need to log in
Is it possible to receive an email and send it using the GET / POST method?
Is it possible to immediately send a get or request with the subject of this letter and, if possible, the content to the server when receiving an email? The server is in php or go, but that doesn't matter. The bottom line is that you need to somehow automate the transfer of the letter to the server. Is it even possible to do this? If so, please provide links to literature or ready-made solutions, thanks.
Answer the question
In order to leave comments, you need to log in
Yes it is possible.
Receiving a letter and sending it to a script - when receiving a letter, the mail server runs the script and passes the context of the letter (headers and body) in the parameters (example for postfix - https://thecodingmachine.io/triggering-a-php-script...
Loading emails from the mailbox - cron connects to the mail server and receives new emails (example - https://garrettstjohn.com/articles/reading-email-php/)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question