You can generate an email and send an email. After slight modification, you can write it as a com component and call it in ASP.
I will organize it into a complete one in the future.
--------------------------------------------------------------------------------
'-------------------------------------------------
'Generate the basic mail format (including attachments) and send the mail to the SMTP server,
'Can only be sent to the sender SMTP server (verification required). The direct delivery function is being compiled.
'
'Declaration: Some of the Code in this section signed the C # code of a Web hero. The original author name cannot be written because the original text cannot be found.
'
'Code writing: the header is too dizzy
'Qq: 2538288
'Msn: qq2538288@hotmail.com
'Blog: http://spaces.msn.com/members/headfaint http://blog.csdn.net/super852
'-------------------------------------------------
Imports System
Imports System. Text
Imports System. IO
Imports System. Net
Imports System. Net. Sockets
Imports System. Collections
Namespace eWebMail
Public Class Mail
'Mail class, generate the basic mail format. Author BLOG: http://spaces.msn.com/members/headfaint
Public Charset As String = "GB2312"
Public From As String
Public FromName As String
Public ReplyTo As String
Public Subject As String = ""
Public isHtml As Boolean = False
Public Body As String = ""
Public TextBody As String = "This is a HTML mail ."
Public RecipientMaxNum As Integer = 15 'maximum number of recipients access author BLOG: http://spaces.msn.com/members/headfaint
Public Recipient As New ArrayList