Welcome Guest, Not a member yet? Register   Sign In
HTTP error
#4

(01-03-2015, 05:59 AM)InsiteFX Wrote:
(01-03-2015, 12:13 AM)Thamaraiselvam Wrote: What is wrong with my code , please tell me

<?php


public function index(){
$config= Array(
'protocol'=>'smpt',
'smtp_host'=>'ssl://smtp.googlemail.com',
'smtp_port'=> 465,
'smtp_user'=> '[email protected]',
'smtp_pass'=> '###',
);


getting http error like following




PHP Code:
'protocol'=>'smpt',

should be

'protocol'=>'smtp'

Simple Mail Transfer Protocol (SMTP)
Reply


Messages In This Thread
HTTP error - by Thamaraiselvam - 01-03-2015, 12:13 AM
RE: HTTP error - by artemweb - 01-03-2015, 01:37 AM
RE: HTTP error - by InsiteFX - 01-03-2015, 05:59 AM
RE: HTTP error - by bclinton - 01-03-2015, 09:01 AM



Theme © iAndrew 2016 - Forum software by © MyBB