CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.

YesSoftware Forums -> CodeCharge Studio -> .NET

 send email

Print topic Send  topic

Author Message

Posts: 1
Posted: 03/18/2008, 10:57 AM

Hi, how to send more emails (with when a user Update a record?
View profile  Send private message

Posts: 31
Posted: 03/31/2008, 10:31 AM

I will use the "AfterUpdate" event for that. You can either use the send mail action or use some custom code as shown below as an example.

If ExecuteFlag And (Not ErrorFlag) Then   
   Dim userEmail, assignedUserEmail, Sujet, Commentaires As String  
	userEmail = FormNameFieldName.text  
	assignedUserEmail = ""  
	Sujet = FormNameFieldSubject.text  
	Commentaires = FormNameFieldComments.text  
	Dim newMessage As New System.Web.Mail.MailMessage()  
	newMessage.From = userEmail  
	newMessage.To = assignedUserEmail  
	newMessage.Bcc = ""  
	newMessage.Subject = Sujet  
	newMessage.BodyFormat = System.Web.Mail.MailFormat.Html  
	newMessage.Body = Commentaires   
	System.Web.Mail.SmtpMail.SmtpServer = "your.mail.server"  
End If  

Hope this helps.

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

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

Home   |    Search   |    Members   |    Register   |    Login

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