DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’»

Ryan
Ryan

Posted on

How to receive email in 2019?

I have an idea for a project which has a component that involves receiving and processing email.

I'm largely a PHP dev and I know PHP is probably a bad choice for this task, plus I'd like to broaden my knowledge-base anyways.

Any suggestions for a modern way to handle receiving email?

Top comments (4)

Collapse
aydrian profile image
Aydrian

You could use a service like SparkPost and setup an inbound domain. Any email send to that domain will be received by SparkPost and posted to an endpoint of your choosing as a JSON object. They have a pretty good PHP client library.

Collapse
ohryan profile image
Ryan Author

Cool!

Collapse
enniob profile image
Ennio Bozzetti

Hi Ryan, I worked on a similar project for my organization and we used Azure Logic APP to read the email and perform the action we needed. But to do that you need to have an Office 365 account and also an Azure account.

You can also use PHP or any other server side language to open the mail box (Using SMTP or POP server) and process the email.

Collapse
ohryan profile image
Ryan Author

Cool thanks.

🌚 Life is too short to browse without dark mode