I have a simple script on a webdirect layout (below) where a user fills out a data form, then hits a Submit button to send the user to a logout page. This button is also linked to a script to commit the record and send an email notification that the form was submitted. The crazy thing is that it will send out from two to six emails and I have no idea why.
Commit Records/Request [No dialog]
Pause/Resume Script [Duration (seconds): 2]
Perform Script ['guesthost_newrecord_notification"]
Go to Layout ["w_Web_Confirmation' (blank)]
the script above for notification uses our campus SMTP server to send out the email.