Google won't let me send a link to my new folder that I want to share

I just created a new folder in the public section of my WDMyCloud. I tried to send a link to a friend that I need to share it with. After clicking SEND, I get a message from google that I can’t sent it, with this message;

An error occurred while sending mail. The mail server responded: 5.7.0 This message was blocked because its content presents a potential
5.7.0 security issue. Please visit
5.7.0 File types blocked in Gmail - Gmail Help to review our
5.7.0 message content and attachment content guidelines. n4sm7691351qkh.8 - gsmtp. Please check the message and try again.

Ideas anyone?

Have you tried using files.mycloud.com , sharing? You choose Files, the file you want to share and right click on it then click share.

See example image below.

Duh. I tried from my computer only - without logging in.
It worked your way. Thanks!