[Solved] How to send mail through more person from this code?

Pass more value splited with comma in targetAddress parameter of SendMessage. Sample code to send mail to multiple persons: public bool SendEmail() { bool status = false; try { //code to send email this._mail = new MailMessage(); this._mail.From = new MailAddress(this.From, this.DisplayName); if (!string.IsNullOrEmpty(this.To)) { var distinctAddress = new List<string>(this.To.Split(‘,’).Distinct()); this.To = string.Empty; foreach (string … Read more

[Solved] Queries too long(1-3 seconds), show a loading process icon [closed]

Use AsyncTask to do the processing in the background and communicate the information back to the UI on completion. Quoting the documentation, AsyncTask enables proper and easy use of the UI thread. This class allows to perform background operations and publish results on the UI thread without having to manipulate threads and/or handlers. There’s a … Read more