Contents

 
Home
ASPRunner Professional 7.0 manual
Prev Page Next Page
 
 

Send an email with updated fields only

 

To send an email with updated fields only use the following code in Edit page: Before record updated event.

yellowbulbNote: Change the values listed in red to match your specific needs.

set rmail=CreateDictionary()

body = "Changed fields" & vbcrlf

for each key in values.Keys

    if not IsEqual(values(key),oldvalues(key)) then _

        body=body & key  & ": "  & values(key) & vbcrlf

next

rmail("to")="test@test.com"

rmail("subject")="Sample subject"

rmail("body")=body

runner_mail(rmail)

 

 

Converted from CHM to HTML with chm2web Standard 2.85 (unicode)