I have built a component to email the reports which are produced through my automation, and I am invoking this within its own “State”. My problem is that when I use the following:
I get an error, which states that “Send SMTP Mail Message : Object reference not set to an instance of an object.”
So I assume from this something being called in is “incorrect”. To bypass this I can copy/paste the values from the config file and place them between quotes, and the component works as intended. I can’t seem to troubleshoot this myself, and am perhaps overlooking something relatively simple, does anyone have any ideas? The email address are separated by commas, and are not hyperlinks. The subject of the email contains a & sign, however when copied in directly this works fine, and the file location works fine in all other components it is invoked within. My only thought could be the & in the subject, but does anyone have an idea around this, as the email subject has to contain that (not my choice!).