REF:Windows application in VB.net

I have added areference to the system.web.dll but whenever I add

Imports System.Web.Mail

to the top of my page the "imports" section ends up with a wavy blue line underneath it.
I take it this means there is a problem.

Can anyone help?