Question

How can I program my own email server in PHP, that listens for email and forward the messages to a URL?

Is python more recommended for this?

Regards,

Was it helpful?

Solution

I suggest you to use an already developed email server software. There are some really well tested ones out there. You do not need to reinvent the wheel. Save you that trouble! You may use one of the following

  • procmail
  • sendmail
  • there are so many other solutions out there (igor milla mentioned a wikipedia site which list more smtp servers)
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top