简体   繁体   中英

Use gmail to send email: Using System.Web.Mail

Web.Mail is already deprecated and that System.Net.Mail is alot easier to use, and it's simplier to integrate it with gmail. But my question is, can i still use the deprecated class sending email (using google's smtp)? Is possible?

Follow this url from

http://msdn.microsoft.com/en-us/library/system.web.mail.mailmessage.aspx

But still in this they recommend Sytem.Net.Mail.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM