本文介绍了无法发送给所有收件人的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我收到此错误无法发送给所有收件人".如何解决这个错误.这是我的代码

smtp.Host = smtphost
smtp.EnableSsl = False''真
mm.ReplyTo =新MailAddress(uname)
昏暗的NetworkCred作为NetworkCredential =新的System.Net.NetworkCredential()
NetworkCred.UserName = uname
NetworkCred.Password = pwd
smtp.UseDefaultCredentials = True
smtp.Credentials = NetworkCred
''smtp.Port = 25
smtp.Send(mm)

Hi,

I''m getting this error "Unable to send to all recipients". How to solve this error. Here my code

smtp.Host = smtphost
smtp.EnableSsl = False ''True
mm.ReplyTo = New MailAddress(uname)
Dim NetworkCred As NetworkCredential = New System.Net.NetworkCredential()
NetworkCred.UserName = uname
NetworkCred.Password = pwd
smtp.UseDefaultCredentials = True
smtp.Credentials = NetworkCred
''smtp.Port = 25
smtp.Send(mm)

推荐答案


这篇关于无法发送给所有收件人的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-12 23:55