summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorprashantsinalkar2018-10-16 17:15:36 +0530
committerprashantsinalkar2018-10-16 17:15:36 +0530
commit691c3e71171a9ad24b7ba77b546fb75ba3b1f5d8 (patch)
tree4d5b506a8c0a24fcb8542a73c152d334c62f87e0
parent6dc7a437723b88d5192fdede01b3b0d815bd2884 (diff)
downloadosdag_workshop_booking-691c3e71171a9ad24b7ba77b546fb75ba3b1f5d8.tar.gz
osdag_workshop_booking-691c3e71171a9ad24b7ba77b546fb75ba3b1f5d8.tar.bz2
osdag_workshop_booking-691c3e71171a9ad24b7ba77b546fb75ba3b1f5d8.zip
added email file
-rw-r--r--workshop_registration_email.inc21
1 files changed, 21 insertions, 0 deletions
diff --git a/workshop_registration_email.inc b/workshop_registration_email.inc
new file mode 100644
index 0000000..baf5964
--- /dev/null
+++ b/workshop_registration_email.inc
@@ -0,0 +1,21 @@
+<?php
+/**
+ * Implementation of hook_mail().
+ */
+function osdag_workshop_booking_mail($key, &$message, $params)
+{
+ global $user;
+ $language = $message['language'];
+ switch ($key)
+ {
+ case 'proposal_received':
+ /* mail template */
+ break;
+ case 'proposal_approved':
+ /* mail template */
+ break;
+ case 'proposal_disapproved':
+ /* mail template */
+ break;
+ }
+}