Email to trigger PHP Script… Possible?

前端 未结 2 1710
南笙
南笙 2021-01-21 11:25

I\'m in need of setting up an auto-response from an email account that I control, based on trigger words within the body of the email. But also, it needs to add/de

2条回答
  •  天命终不由人
    2021-01-21 12:01

    You can alias your email address directly to a php script if you run your own mail server (on linux this would just be in the /etc/alias file or equivalent where the target was your php script instead of an email address) eg http://www.topwebhosts.org/bbs/board.php?bo_table=server_mgmt&wr_id=73

    If not, then your only real choice is to set up a php process that checks an email address for mail every x minutes.

    I have used both these methods over the years to great success

提交回复
热议问题