Hi Team,
A communication needs to be sent on agent's email ID informing the details about the leads assigned to him.
We have 2 tables - adviser ( in which agent's email ID, agent code etc is stored ) and leads ( where leads information along with agent code is stored).
For a scenario an agent can...