private function sendNotificationToMerchant(Pap_Contexts_Signup $context) { $context->debug('Sending notification email to merchant started'); $context->debug('Notification on new affiliate signup email is enabled, sending to address: '.Pap_Common_User::getMerchantEmail()); $this->sendMerchantNewUserSignupMail($context->getUserObject(), Pap_Common_User::getMerchantEmail()); $context->debug('Sending notification email to merchant ended'); }
private function sendBeforeApprovalEmail(Pap_Contexts_Signup $context) { $context->debug(' Sending before-approval email to affiliate started'); $context->debug('Before-approval email is enabled, sending to email address: '.$context->getUserObject()->getEmail()); $this->sendNewUserSignupBeforeApprovalMail($context->getUserObject(), $context->getUserObject()->getEmail(), $context); $context->debug('Sending before-approval email to affiliate ended'); }