.NET1.1 Upload mail (with verification)

xiaoxiao2021-03-06  116

?????? MailMessage Mail = new mailmessage (); ?????? mail.to = greystar@jbinfo.com.cn; ?????? mail.from = "greystar@jbinfo.com.cn ; "; ?????? mail.subject =" test "; ?????? mail.body =" testbody "; ?????? mail.fields.add (" http: // Schemas. Microsoft.com/cdo/configuration/smtpauthenticate "," 1 "); // Basic Authentication ?????? mail.fields.add (" http://schemas.microsoft.com/cdo/configuration/sendusername ", "MY_USERNAME_HERE"); // set your username here ????? mail.fields.add ("http://schemas.microsoft.com/cdo/configuration/sendpassword", "super_secret"); // set your password Here

??? SMTPMAIL.SMTPSERVER = "mail.eqing.org" ;? // your real server goes here ??? SMTPMAIL.SEND (MAIL);

转载请注明原文地址:https://www.9cbs.com/read-126470.html

New Post(0)