Use ASP.NET to implement this article to your friend's function

xiaoxiao2021-03-06  118

///

/// Flying Eagle @ askCool.com /// This article uses ASP.NET to implement this article to your friends. /// ASP Cool Technology Information Network (www.aspcool.com) /// Here the Eagle uses a simple example to introduce you how to use ASP.NET Mail sending function. First, let's make a send interface. Tuijian.asp, where title is the title of the article, ID represents the number of the article. Hello, welcome to use the ASP Cool Technology Information Network Article recommended function, your recommended article is: "<% =")%> ".
Your mailbox:
Recipient mailbox:
> >>>>>>>> Let's use ASP.NET to implement the recommended article Function, mail.aspx <% @Page language = "c #" debug = "true"%> <% @Import namespace = "system.web.mail"%> <% mailmessage msgmail = new mailmessage (); msgmail.to = Request ["accepter"]; // message recipient msgmail.cc = "Webmaster@aspcool.com"; msgmail.from = request ["sender"]; msgmail.subject = "Your friend is recommended from aspcool.com. An article. "; Msgmail.bodyformat = mailformat.html; string strbody =" " request [accepter"] ", Hello."

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

New Post(0)