D3r1ck01 has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/373414 )

Change subject: Defining Hook and onAlternateUserMailer()
......................................................................

Defining Hook and onAlternateUserMailer()

Hook definition and onAlternateUserMailer() method definition wrapper
to use for sending emails.

Change-Id: I37584979f0f3175e2543c4d33c0cec332b750f08
---
M SendGridHooks.php
1 file changed, 16 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/SendGrid 
refs/changes/14/373414/1

diff --git a/SendGridHooks.php b/SendGridHooks.php
index 89b2f7e..49cbd04 100644
--- a/SendGridHooks.php
+++ b/SendGridHooks.php
@@ -23,3 +23,19 @@
  * @ingroup Extensions
 */
 
+class SendGridHooks {
+       /**
+        * Send a mail using SendGrid API
+        *
+        * @param array $headers
+        * @param array $to
+        * @param MailAddress $from
+        * @param string $subject
+        * @param string $body
+        * @return bool
+        * @throws Exception
+        */
+       public static function onAlternateUserMailer( array $headers, array 
$to, MailAddress $from, $subject, $body ) {
+               
+       }
+}
\ No newline at end of file

-- 
To view, visit https://gerrit.wikimedia.org/r/373414
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I37584979f0f3175e2543c4d33c0cec332b750f08
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/SendGrid
Gerrit-Branch: master
Gerrit-Owner: D3r1ck01 <alangider...@gmail.com>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to