CodeIgniter Forums
Codeigniter email - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21)
+--- Thread: Codeigniter email (/showthread.php?tid=24591)

Pages: 1 2


Codeigniter email - El Forum - 11-14-2009

[eluser]GamingFusion[/eluser]
i will check that when i get home tonight thanks man for the help


Codeigniter email - El Forum - 11-14-2009

[eluser]GamingFusion[/eluser]
ok i tried this

Code:
$email = @mail('[email protected]','TEST','Testing 123');    
        
        if ($email)
        {
            echo 'mail sent';    
        }
        else
        {
            echo 'Mail Not Sent';    
        }


it said when i ran the function "mail sent" but i havent recieved anything in my email


Codeigniter email - El Forum - 11-14-2009

[eluser]Hani A.[/eluser]
By any chance, are you running codeigniter locally (localhost)? Or are you running it on a hosted server?


Codeigniter email - El Forum - 11-15-2009

[eluser]web_developer[/eluser]
It means something wrong with mail service. Are you testing in Live? or in Local?
because in local PC mail will not work by default, for that you need to configure smtp and Pop