Add your email id credentials, add receiver's mail id's inside the TO list. Finally, add the district id. I have hardcoded it. I did not want to call the API everytime as it would waste network cost. You can choose to get district id using API.
Add your email id credentials, add receiver's mail id's inside the TO list. Finally, add the district id. I have hardcoded it. I did not want to call the API everytime as it would waste network cost. You can choose to get district id using API.