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