CodeCharge Studio
search Register Login  

Visual Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.

YesSoftware Forums -> CodeCharge Studio -> .NET

 Send email back to new comer using Register page !!

Print topic Send  topic

Author Message
Posted: 04/10/2005, 2:45 AM

Dear all

Can anyone post the Asp.NET code as per captioned as the PORTAL solution's Register page hasn't this function

Thanks in advance


Posts: 8
Posted: 04/11/2005, 7:19 AM

Here's a code snippet I use. It's been genericized but maybe it will help. I stick this in the AfterInsert event of my form but you may want to put it someplace else.

If Table2ProblemDescription.Text.Trim().Length > 0 Then
Dim message As System.Web.Mail.MailMessage = New System.Web.Mail.MailMessage()
message.From = ""
message.To = "" 'OR Use FORM VALUE
message.Subject = "NEW HELP DESK CALL - " & Table2CurrentUser.Value.ToString()
message.Body = Table2CurrentUser.Value.ToString & " - " & Table2ProblemDescription.Text & vbCrLf & vbCrLf
message.BodyFormat = System.Web.Mail.MailFormat.Text
System.Web.Mail.SmtpMail.SmtpServer = "MYSMTPSERVER"
ErrorFlag = True
Table2Errors.Add("", "Fields 'From' and 'To' are required")
End If
View profile  Send private message

Add new topic Subscribe to topic   

These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit

Internet Database

Visually create Web enabled database applications in minutes.

Home   |    Search   |    Members   |    Register   |    Login

Powered by UltraApps Forum created with CodeCharge Studio
Copyright 2003-2004 by  and YesSoftware, Inc.