I have been given an email that contains a template which was designed specifically for this matter. This template contains a series of fields which have been created by another user. Does anyone have any idea how I could get to these fields?
I guess they have the same category as the subject, sender, body, etc. I need to know how I can access these.
For example: Mailmessage.subject.tostring will get the subject, I would need something like the following: Mailmessage.xxxx to get the collection of these user defined fields.
To understand if these are part of the mailMessage fields just like body and subject, read the mail message and when debugging see the value of the variable.
It will give you an idea how your email format is looking like when read by UiPath.
Then you can read your fields as required.
You can , just view the Locals tab, it will show you the variable and their values.
You can click on the view button on the extreme right of the entry it will pop-up the value.
Sorry to disturb you again but when doing that I’m just seeing Net.MailMessage as the value.
I had never use the debugging function before so could you guide me through on how to use it for this? I am reading the argument of the mail as Net.MailMessage and putting a breakpoint so I have time to see the value.
However I’m not being able to see more than the type not the value it has taken. This is a screenshot of what I’m seeing in the locals tab. The argument in question is the last one “Arg_correo”.