Dear All!
I have a very simple database structure like there are 02 tables:
- customers
- Payments
Both are linked with the a field named CustomerID. which is primary in customers and foreign in payments.
In the administration side there is add payments form. When all the fields are added and the form is to be submitted there should be an email sent to the Customer that is also carbon copied to admin with the new values and the message of "your payment has been received".
Email address to which the email is sent should be picked from the customers table with the help of the customer ID field and the mail should be sent accordingly.
There is an email event in the phprunner but it gives you the option of simple phpmail function by manually setting an email address to the variable.
I hope you have understood the scenarion in detail. I will also like to mention here that I am not a PHP expert just a beginer and have no proper knowlege of smarty at all.
Please help immediately...
Best wishes
Azeem