Can we set the importance for designer workflow generated emails to high ?
Thank you.
Technology Tips and News
Can we set the importance for designer workflow generated emails to high ?
Thank you.
Hi Prajk- I think this is what you want:
Hi,
Out of the box there is not option available to set the email priority as high, you can add one more column in list or library and put some default HTML that indicate that mail priority is high and use this column as mail Subject but if you are using code or VS workflow it is easy like below.
var mailSend = new MailMessage("abc@mail.com", "abc@mail.com");
mailSend.Subject = "Subject";
mailSend.Body = "Body";
mailSend.Priority = MailPriority.High;
var objSmtp = new SmtpClient();
objSmtp.Host = "smtp.gmail.com";
objSmtp.Credentials = new NetworkCredential("abc@gmail.com", "password");
objSmtp.EnableSsl = true;
objSmtp.Send(mailSend);
Thanks so much for the responses. Helped me a lot.
Best Regards,
prajK