这是我的代码,我只得到???消息体中的字符, 我试图使用属性" mm.BodyEncoding = Encoding.UTF8",我也尝试添加" utf-8"的标题,从不适用于我
Dim smtp = New SmtpClient()
smtp.EnableSsl = UseSsl
smtp.Host = Host
smtp.Port = Port
smtp.Credentials = Credentials
Dim mm = New MailMessage
mm.From = New MailAddress(Credentials.UserName, ScreenName)
mm.Subject = Subject
mm.Body = "אבג"
mm.IsBodyHtml = True
mm.To.AddRange(addresses)
smtp.Send(mm)