public function xsend() { $message_configs['appid'] = $this->appid; $message_configs['appkey'] = $this->appkey; if ($this->sign_type != '') { $message_configs['sign_type'] = $this->sign_type; } $message = new message($message_configs); return $message->xsend($this->buildRequest()); }
public function xsend() { /* |set appid and appkey |-------------------------------------------------------------------------- */ $message_configs['appid'] = $this->appid; $message_configs['appkey'] = $this->appkey; /* |set sign_type,if is set |-------------------------------------------------------------------------- */ if ($this->sign_type != '') { $message_configs['sign_type'] = $this->sign_type; } /* |init mail class |-------------------------------------------------------------------------- */ $message = new message($message_configs); /* |build request and send email and return the result |-------------------------------------------------------------------------- */ return $message->xsend($this->buildRequest()); }