This topic is locked

Edit Email

4/5/2007 5:42:19 PM
ASPRunnerPro General questions
G
grinningdog author

Hi
I've got an event that sends email to two addresses when a record is added. It works really well but I'd like to add some text to the bottom of the message.
Do I add something to the event or is there a file to edit somewhere?
Currently I've got:

Function BeforeAdd(dict)
Dim keys

message =""
keys = dict.keys

For n = 0 To dict.Count-1

message = message & keys(n) & " : " & dict(keys(n)) & vbcrlf

Next



email="me@me.com; myboss@hell.com"

subject="New Registration"



sendmail email, subject, message
BeforeAdd = True



TIA

Bob

G
grinningdog author 4/5/2007

Don't worry, I answered my own question