Need Help With Email Notification
Posted: 2013-05-12 03:49
I could use some help modifying an after_insert and after_update hook. I need to send out an email notification after a record has been inserted or updated. The email address needs to come from a field from another table called arcrequest, and it will be sent from a table called arcapproval. The email field will be called email. I also need to attached the path to the record that has been inserted or updated. The path is http://whatever.com/arcapproval_view.php?SelectID=2 (or whatever the actual record is)
I have not been able to figure out how to insert the email address automatically based on the current record being viewed. I can't use the $memberInfo['email']: as they are not currently logged in.
I hope you can understand what I am looking for. If you need more information, please let me know. I would appreciate any help that anyone in the community can provide.
Many Thanks,
Michael
I have not been able to figure out how to insert the email address automatically based on the current record being viewed. I can't use the $memberInfo['email']: as they are not currently logged in.
I hope you can understand what I am looking for. If you need more information, please let me know. I would appreciate any help that anyone in the community can provide.
Many Thanks,
Michael