System exception.Invalid URI: The hostname could not be parsed. at Source: Send SMTP Mail Message

'm currently encountering an issue within the Performer part of my RE Framework workflow. Specifically, when attempting to send emails using the Send SMTP Mail Message activity,I consistently receive a ‘System exception.Invalid URI: The hostname could not be parsed’ error. This error occurs as I fetch data from a Queue and aim to send emails to specified email IDs. I’m seeking guidance from the UiPath community on how to troubleshoot and resolve this error effectively. Additionally, I’m interested in learning about best practices for handling SMTP configurations and email sending within the RE Framework. Any insights or advice would be greatly appreciated as I continue to develop my UiPath skills

Hi @wasiullah.khan

First, check have you given the Username and password of your mail in the properties of Send SMTP Mail Message activity.

Hope it helps!!

Hi @mkankatala

Just a quick update on the issue I’ve been having with the SMTP properties in my UiPath project. So, I found out that everything works fine when I directly put in the server name and port, but when I try to grab them from the config file, things go haywire. I’ve attached screenshots of the config file and SMTP properties for you to check out. Any ideas on how to fix this?

I am attaching Screenshot of Config file and SMTP activity properties.