$this->load->library('email') version codeigniter 3.1.10, |
i have this problem, when I add this code:
$configEmail = array( 'protocol' => 'mail', 'smtp_host' => 'mail.**********.com', 'smtp_port' => 25, 'smtp_user' => '[email protected]*******.com', 'smtp_pass' => *******, 'mailtype' => 'html', 'charset' => 'utf-8', 'newline' => "\r\n" ); $this->email->initialize($configEmail); $this->email->from('[email protected]*******.com', '****.'); $this->email->to('**********@*******.com'); $this->email->subject('hi'); $this->email->message('Saludos'); the server sends me the next warning "Service Unavailable The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later. Additionally, a 503 Service Unavailable error was encountered while trying to use an ErrorDocument to handle the request." The problem is my code or I have to do something on the server? [font=Roboto, arial, sans-serif]formerly, after the problem I use [/font] [font=Consolas,]$this->email->send() [/font] and helping me to solve the problem. thanks and regards |
Messages In This Thread |
$this->load->library('email') version codeigniter 3.1.10, - by davidR - 03-04-2019, 12:13 AM
RE: $this->load->library('email') version codeigniter 3.1.10, - by kokero - 03-04-2019, 05:15 AM
RE: $this->load->library('email') version codeigniter 3.1.10, - by php_rocs - 03-04-2019, 05:58 AM
|