在asp.net 中strTmp = [email protected],bb@hotmail,cc@hotmail
sendToMailAddress = New MailAddress(strTmp)
mailInfo.SendTo = sendToMailAddress
.... Dim message As MailMessage
message = New MailMessage(mailInfo.Form, mailInfo.SendTo)
message.Subject = mailInfo.Subject
message.Body = mailInfo.BodyDim client As SmtpClient
client = New SmtpClient(mailInfo.StmpClientIP) Try
client.Send(message) Catch ex As Exception
client = New SmtpClient(mailInfo.StmpClientIP1)
client.Send(message)
End Try
为什么只有第一个人受到,第2个人就不能受到?如何才能让多个人都受到邮件???
sendToMailAddress = New MailAddress(strTmp)
mailInfo.SendTo = sendToMailAddress
.... Dim message As MailMessage
message = New MailMessage(mailInfo.Form, mailInfo.SendTo)
message.Subject = mailInfo.Subject
message.Body = mailInfo.BodyDim client As SmtpClient
client = New SmtpClient(mailInfo.StmpClientIP) Try
client.Send(message) Catch ex As Exception
client = New SmtpClient(mailInfo.StmpClientIP1)
client.Send(message)
End Try
为什么只有第一个人受到,第2个人就不能受到?如何才能让多个人都受到邮件???
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货