summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Halkiadakis <gchalkiadakis@sklavenitis.co.gr>2023-04-06 12:46:54 +0300
committerGeorge Halkiadakis <gchalkiadakis@sklavenitis.co.gr>2023-04-06 12:46:54 +0300
commit45d853b343b485bff7e6089e2689dba5f7d901cf (patch)
tree6fc249fbe5d270d5e5b8e0b18e7bfe656c20d27c
parent8df89ce39d2acf5b23ee15241060bd9dd6551620 (diff)
downloadclassroom-45d853b343b485bff7e6089e2689dba5f7d901cf.tar.gz
classroom-45d853b343b485bff7e6089e2689dba5f7d901cf.tar.bz2
classroom-45d853b343b485bff7e6089e2689dba5f7d901cf.zip
minor additions to Sent_mail class
-rw-r--r--html/app/extends/Send_mail.php14
1 files changed, 14 insertions, 0 deletions
diff --git a/html/app/extends/Send_mail.php b/html/app/extends/Send_mail.php
index 7dbb50a..fa0d8d3 100644
--- a/html/app/extends/Send_mail.php
+++ b/html/app/extends/Send_mail.php
@@ -172,5 +172,19 @@ Log event to Email
* test activation code:
* ca42d68cfba5fbbafeacc010b8e3a551
*
+ *
+ *
+ * MAIL API
+ * --- -- -- - - -
+ * client = ip/mp5(IP) or domain/md5(ref_domain)
+ * token = md5(client + timestamp + rand(0,10000))
+ *
+ * api : auth_content : client : token
+ * --- : --- : --- : ---
+ * mail : ip|domain : md5(*) : md5(...) -> send an email
+ * image : ip|domain : md5(*) : md5(...) -> proccess an image (resize|crop|convert)
+ * slack : ip|domain : md5(*) : md5(...) -> send a slack message to channel
+ * database : ip|domain : md5(*) : md5(...) ->
+ *
*/
\ No newline at end of file