Send Email - Read Receipt turned on

I need to send an email with an attachment, and for a specific email ID alone, I need to have read receipt turned on before being sent to the receipient.

Any idea in detail ?

hii @BhuvaneshSankar

Use a MailMessage and add a read-receipt header before sending the email.
Add this line mail.Headers.Add(“Disposition-Notification-To”, “your_email”) and then send the mail normally

Thanks @Jp_Khetan. But which version to be used and also can you please help me out step by step.
BTW

  1. where can I find the headers option? in the activity properties / need to assign ?
  2. Can you please help me out with the detailed steps.

@BhuvaneshSankar
Create a MailMessage variable, add the recipient, subject, body, and attachment, then add a read receipt header using mailMessage.Headers.Add(“Disposition Notification To” “your_email”) Use Send Outlook Mail Message and assign this MailMessage to its MailMessage property to send the email with a read receipt for that recipient

To send a mail with a Read Receipt inside UiPath, you need to use code , instead of default Mail Activities.

Prepare your mail message using .net/invoke method, then add a read receipt header using mailMessage.Headers.Add(“Disposition Notification To” “your_email”)

Once you prepare the MailMessage with headers , send it using SmtpClient or Outlook Interop.

@BhuvaneshSankar

Welcome to the community

May I know if it is a attended automation?

also any specific reason for read receipt?

As directly its no where available…if attended go with outlook UI autoamtion but not a recommended way..

using api is recommended but again it might be hard to maintain if team is not familiar

cheers