2017年九月份之后,阿里云屏蔽了邮件发送的25端口; 在使用阿里云企业邮箱发送邮件修改端口为80可以正常发送邮件; SmtpClient client = new SmtpClient("smtp.aliyun.com",80);