This topic is locked

Email record to specific selected user in field

12/8/2011 8:37:36 AM
PHPRunner General questions
A
angelcause author

I am generating a ticket issuance system, I want to have a table "ticket"

Fields :

Auto_Id

Issue

Employee Name

Employee Email

Logged on Date

Logged by UserEmail

Status

now when the form will be filled once the save button is clicked, I want the fields to be mailed to the emails mentioned in fields Employee Email and Logged by UserEmail so the person logging it and the person who has the issue will receive a log of the issue in their mail inbox for record purpose and when the status is changed to "Closed" another email should be sent to both the emails in fields Employee Email and Logged by UserEmail again showing the log of the issue and the status mentioned as closed.
Thanks in advance.

A
angelcause author 12/8/2011

thanks for the quick helping, but the script which you sent me will only mail the record to a specific person, in the form any employees email can be entered.

like :

if Andrew@gmail.com is entered/selected the mail should go to andrew@gmail.com

and

if john@gmail.com is entered/selected the mail should go to john@gmail.com
I have about 50 Colleagues, means that the ticket can be issued on anyone's email addres..

C
cgphp 12/8/2011