Error -- The path is not of a legal form.
Type : System.ArgumentException
Source: mscorlib
Method: NormalizePath
Error: The path is not of a legal form.
Reason: Dim attachment as new System.Net.Mail.Attachment(" ") will cause the error.
空白字符串作为文件路径导致。