cancel
Showing results for 
Search instead for 
Did you mean: 

Error while sending email through Webmail

AsishNayak
Level 2
I am getting below error while trying to send email via webmail. "Internal : Could not execute code stage because exception thrown by code stage: This property cannot be set to an empty string. Parameter name: value" How can i fix this?
1 BEST ANSWER

Helpful Answers

InJoeKhor
Staff
Staff
Hi Asish,

Which email VBO do you use? Do you use outlook or SMTP or you are writing your own code stage?

In your case, it is likely the exception is being thrown by the MainAddress constructor. It means you have been trying to add an empty string as an email address, which is not valid. You may want to check to see whether to/from Email Address is an empty string since it says: This property cannot be set to an empty string. It needs to have a value instead of an empty string, that's why you see this "Parameter name: value" as part of the error message.

Thanks,
In Joe

------------------------------
In Joe Khor
Sr. Product Consultant
Blue Prism
------------------------------
In Joe Khor Sr. Product Consultant Blue Prism

View answer in original post

1 REPLY 1

InJoeKhor
Staff
Staff
Hi Asish,

Which email VBO do you use? Do you use outlook or SMTP or you are writing your own code stage?

In your case, it is likely the exception is being thrown by the MainAddress constructor. It means you have been trying to add an empty string as an email address, which is not valid. You may want to check to see whether to/from Email Address is an empty string since it says: This property cannot be set to an empty string. It needs to have a value instead of an empty string, that's why you see this "Parameter name: value" as part of the error message.

Thanks,
In Joe

------------------------------
In Joe Khor
Sr. Product Consultant
Blue Prism
------------------------------
In Joe Khor Sr. Product Consultant Blue Prism