1. 添加命名空间 using System.Net.Mail; using System.Net; 2. The HTML MarpUp <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title></title> </head> <body> <form id="form1" ru
function addTr(num) { no ++; var obj = document.getElementById(tableID); var oneRow = obj.insertRow(num); var cells = new Array(); for (i = 0; i < 24; i ++) { cells[i] = oneRow.insertCell(i); } cells[0].innerHTML = no; cells[1].innerHTML = '<textare
import smtplib from email.mime.multipart import MIMEMultipart from email.mime.text import MIMEText class SendEmail: """邮件方式发送报告""" global send_user global email_host global password send_user = "AAAAA@163.com" email