Error message when i publish

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)

What does that mean. and how do i solve it

All the best
Milo

1 Like

@Majlopajlo

Can you try updating the mail package and try publish?

Thanks

Hi @Majlopajlo,

Can you please share the screenshot of your issue, it would give a better understanding for giving the solution.

Thanks,
@90s_Developer

Hi Srini84
It is fully updated.

thanks

Hi,

Of course. Here you go
Screenshot_Friend.docx (298.6 KB)

Thanks

@Majlopajlo,

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.

Thanks,
@90s_Developer

@Majlopajlo

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

Hope this will help you

Thanks