.Net System.Mail.Message adding multiple “To” addresses

前端 未结 8 1418
悲&欢浪女
悲&欢浪女 2020-12-30 18:56

EDIT: This question is pointless, except as an exercise in red herrings. The issue turned out to be a combination of my idiocy (NO ONE was being emailed as the hos

8条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-30 19:25

    You can do this either with multiple System.Net.Mail.MailAddress objects or you can provide a single string containing all of the addresses separated by commas

提交回复
热议问题