Is it possible to set the priority in Send SMTP Mail Message activity

Dear all,

Is it possible to set the priority of emails in Send SMTP Mail Message activity.

Thanks in advance.

I also have same requirement, I tried to use MailMessage property of it, but that is used as forwarded message attachment.
@PrankurJoshi Anyone?

See this

https://docs.microsoft.com/en-us/dotnet/api/system.web.mail.mailmessage.priority?view=netframework-4.7.2

 Sub SetPriority()
 create the mail message
Dim mail As New MailMessage()

set the addresses
mail.From = New MailAddress("me@mycompany.com")
mail.To.Add("you@yourcompany.com")

set the content
mail.Subject = "This is an email"
mail.Body = "this is the body content of the email."

specify the priority of the mail message
mail.Priority = MailPriority.High

send the message
Dim smtp As New SmtpClient("")
smtp.Send(mail)
End Sub 'SetPriority

image

I tried it in this way, it forwarded as attached email.

This works for me

		 Dim Smtp_Server As New SmtpClient
     Smtp_Server.Credentials = New Net.NetworkCredential("", "")
     Smtp_Server.Port = 587
	 Smtp_Server.EnableSsl=True
     Smtp_Server.Host = ""
	 email.From = New System.Net.Mail.MailAddress("")
     email.To.Add("")
	 email.Priority=System.Net.Mail.MailPriority.High
     Smtp_Server.Send(email)

Thanks for sharing the information.

I will execute the same.

If you already have the email object created, you can try using the Invoke Method activity, pass the email object as parameter and call the SetPriority method