• File: Customer_contact_verification.php
  • Full Path: /var/www/crm_set/application/libraries/mails/Customer_contact_verification.php
  • Date Modified: 09/21/2026 4:19 AM
  • File size: 620 bytes
  • MIME-type: text/x-php
  • Charset: utf-8
<?php

defined('BASEPATH') or exit('No direct script access allowed');

class Customer_contact_verification extends App_mail_template
{
    protected $for = 'customer';

    protected $contact;

    public $slug = 'contact-verification-email';

    public $rel_type = 'contact';

    public function __construct($contact)
    {
        parent::__construct();
        $this->contact = $contact;
    }

    public function build()
    {
        $this->to($this->contact->email)
        ->set_rel_id($this->contact->id)
        ->set_merge_fields('client_merge_fields', $this->contact->userid, $this->contact->id);
    }
}