public void sendEmergencyEmail(string Error) { Email email = new Email() { Subject = "Emergency Call", Message = "This An Emergency email Sent By the Problem Reporting service due to this " + Error + " Please Respond immediately", recieverEmail = _config["EmergencyContact:Email"], recieverName = _config["EmergencyContact:Name"] }; _mailQueue.QueueExection(email); }