I want to send a status report after every execution thru outlook email, which has to be sent with a High Importance tag.
But I cannot able to send an email with High Importance tag using UiPath’s Send outlook mail message/Office 365/Send SMTP activities.
I have been thru some forum posts, but no luck over there.
Please guide me with any solution.
Hi @ManiPrajwal_K ,
You can extract the mail as a mail message variable and then you can simply set the property like
Mailmessage.High
1 Like
@ManiPrajwal_K can u refer this link
hope this might help
If you are using Invoke code activity this can be done. Use the below code.
Dim OutlookApp As Microsoft.Office.Interop.Outlook._Application
OutlookApp = New Microsoft.Office.Interop.Outlook.ApplicationClass
Dim mail As Microsoft.Office.Interop.Outlook.MailItem = DirectCast(OutlookApp.CreateItem(Microsoft.Office.Interop.Outlook.OlItemType.olMailItem), Microsoft.Office.Interop.Outlook.MailItem)
mail.Subject = “Test Email”
mail.Body = “Test Email”
mail.To = “emailID”
mail.Importance = Micros…
1 Like
Shikhar_Tandon:
Mailmessage.High
No luck from this @Shikhar_Tandon
nikhil.girish:
might help
@nikhil.girish Thanks, mate…! This is working fine but are there any other alternative approach to achieve the required goal?
1 Like
@ManiPrajwal_K ,through uipath mail activities its not possible Prajwal