php - Failed to authenticate password using codeigniter -



php - Failed to authenticate password using codeigniter -

failed authenticate password. error: 534-5.7.14 please log in via web browser , seek again. 534-5.7.14 larn more @ 534 5.7.14 https://support.google.com/mail/bin/answer.py?answer=78754 wv1sm5867206pab.37 - gsmtp

function index() { $config = array( 'protocol' => 'smtp', 'smtp_host' => 'ssl://smtp.googlemail.com', 'smtp_port' => 465, 'smtp_user' => 'gauravkwt@gmail.com', 'smtp_pass' => '92135108845129', 'mailtype' => 'html', 'charset' => 'iso-8859-1', 'wordwrap' => true ); $this->load->library('email', $config); $this->email->set_newline("\r\n"); $this->email->from('gauravkwt@gmail.com', 'gaurav kwatra'); $this->email->to('gaurav.kawatra@ymail.com'); $this->email->subject('this email test'); $this->email->message('emial testing'); //$this->email->initialize($config); if($this->email->send()) { echo 'your email sent...!!!! '; } else { show_error($this->email->print_debugger()); } } //end of code

i utilize above code send mail service codeigniter....i have error...failed authenticate. password correct.

you need go business relationship settings https://www.google.com/settings/security , need enable access less secure apps helps utilize google smtp clients.

please have here too

php codeigniter email

Comments

Popular posts from this blog

javascript - I need to update the text of a paragraph by inline edit -

javascript - THREE.js reposition vertices for RingGeometry -

assembly - What is the addressing mode for ld, add, and rjmp instructions? -