Setting importance high for designer workflow emails

Can we set the importance for designer workflow generated emails to high ?

Thank you.

September 2nd, 2015 11:15am

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);

September 2nd, 2015 3:45pm

Thanks so much for the responses. Helped me a lot. 

Best Regards,

prajK

Free Windows Admin Tool Kit Click here and download it now
September 4th, 2015 10:48am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics