Email forwarding with pipe to a program in amazon mail service (SES)

230 Views Asked by At

I want to read an email and insert detail into database which i receive in my SES. In normal cPanel we can do it using pipe to a program see below image.

Now i am setting up a server to amazon. So how can i develop this in amazon mail service?
I have read a document of amazon recipient rules and lambda function but didn't get a proper idea how to call my code file?
I am using php, can anyone explain how to i create lambda function to call my PHP file or any other way?

0

There are 0 best solutions below