daily pastebin goal
43%
SHARE
TWEET

Untitled

a guest Nov 9th, 2018 78 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. //    public static function sendConfirmEmail($user)
  2. //    {
  3. //        $email = EmailFactory::create(EmailType::ACTIVATE_APP, $user->id, $user->id);
  4. //        if ($email) {
  5. //            $isSend = $email->send(array('model' => $user, 'title' => $user->profile->title));
  6. //            if ($isSend) {
  7. //                $email->is_send = Email::EMAIL_SENT;
  8. //                $email->save();
  9. //                return true;
  10. //            }
  11. //        }
  12. //        return false;
  13. //    }
  14. //
  15. //    public static function sendWelcomeEmail($user) {
  16. //        $sell = [
  17. //            'title' => 'Tap "Sell" button',
  18. //            'pos'=>'bottom right'
  19. //        ];
  20. //        $email = EmailFactory::create(EmailType::WELCOME, $user->id, $user->id);
  21. //        if($email){
  22. //            $isSend = $email->mSend(array('profile' => $user->profile, 'sell' => $sell));
  23. //            if($isSend){
  24. //                $email->is_send = Email::EMAIL_SENT;
  25. //                $email->save();
  26. //            }
  27. //        }
  28. //    }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top