NotifySend.php
authorAlan Knowles <alan@akkbhome.com>
Wed, 6 Apr 2011 15:14:26 +0000 (23:14 +0800)
committerAlan Knowles <alan@akkbhome.com>
Wed, 6 Apr 2011 15:14:26 +0000 (23:14 +0800)
NotifySend.php

index 9e0c2da..7dc4777 100644 (file)
@@ -61,8 +61,12 @@ class Pman_Core_NotifySend extends Pman
         
         $email = $o->toEmail($p,$last);
         // should we fetch the watch that caused it.. - which should contain the method to call..
+        $dom = array_pop(explode('@', $p->email));
         
-        
+        Mail::factory('smtp', array( 
+            'host'         => 'smtp.gmail.com', 
+            'persist'      =>  FALSE
+        ));