Hi all,
when i try to publish ill get this error message.
Error: Compiler error(s) encountered processing expression “message”.
cant reach System.Net.Mail.Message in this context, because it is friend. (translated from swedish)
The reason for your issue is not your outlook mail activity.
Before that, if you notice the Add to Collection activity throws an error.
Can you check it out.
As @90s_Developer said you have to check the problem which you are getting from the Add to Collection, because of that even the mail is getting issue, So first solve those issues and try to publish