Hi all,
I've got my installation allowing me to delete any entry from my database by clicking a link shown along side each record when they are viewed. This is the link code...
This is working fine.
Now I would also like the system to automatically send a rejection email to the submitter at the same time.
I've been looking at JPDeni's mod for sending an email after adding a record, and have been trying to modify it to send an email after deletion (by placing my customised code in the sub html_delete_success sub routine) without much luck.
Anyone have any suggestions?
Thanks in advance!
I've got my installation allowing me to delete any entry from my database by clicking a link shown along side each record when they are viewed. This is the link code...
Code:
<a href="$db_script_link_url&$db_key=$rec{$db_key}&$rec{'jobkey'}=delete&delete_records=Delete+Checked">Delete</a>This is working fine.
Now I would also like the system to automatically send a rejection email to the submitter at the same time.
I've been looking at JPDeni's mod for sending an email after adding a record, and have been trying to modify it to send an email after deletion (by placing my customised code in the sub html_delete_success sub routine) without much luck.
Anyone have any suggestions?
Thanks in advance!