I use the following code to send mail using Outlook:
This is not allowed. Mind the risk of attaching a local file just by clicking a link, an attacker may get sent any sensitive file on your disk!