Hi
I want a php code that will collect data within an email. Basically what I want is described below.
1. User will have to send an email to me with subject as "Notify: Payment"
2. If the subject is "Notify: Payment", open the email and collect the following details in the email
3. The data to be used or stored is as follows: Payment_Refernece, Payment_Amount
----EMAIL FORMAT----
Dear SMOOTH ONLINE SOLUTIONS (PTY)
Account : SAVE676
Date : 25/06/2015
Transaction: SETTLEMENT CENTRE - INTERNET PAYMENT CREDIT
Reference : ABSA BANK Personal Account
Amount : R105.00
Available : R2,744.84
-----
4. From your code, go through the body of the email and collect the Reference & Amount
Reference = Personal Account
Amount = 105.00
PLEASE NOTE:
* Code must always check if the email subject is "Notify: Payment" and status is UNREAD before it can go through the email.
* Keep it simple
* No design is required, this code will be placed into an already existing platform
* Include all instructions to setup, as though it will be used by a newbie
* Try your best to comment by explaining your coding
* Please use PHP