about email library |
I try to using email.
my code PHP Code: public function sendEmail () { It not work and don't have anything display on website. Pls recommend for help.
If you get a completely blank screen even though you also have other text to display, then I believe the problem is that you have a fatal error and error reporting is turned off. Do you ever get other PHP error messages?
Hey, don't work without a PHP debugger. Several free IDEs have this features built in. Two are NetBeans and CodeLobster. Without a debugger, it's like you're driving with a blindfold on -- you are going to crash!
I set follow code here
PHP Code: $config['protocol'] = 'sendmail'; it error : Exit status code: 1 Unable to open a socket to Sendmail. Please check settings. Unable to send email using PHP Sendmail. Your server might not be configured to send mail using this method.
am getting the same problem even if i use smpt protocol, am using wamp server
Are you trying to send from your local host? If so then you need to setup your mail parameters in your php.ini file.
I use smtp on my local host and set everything in php.ini to my comcast smtp server for sending from local host. What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
|
Welcome Guest, Not a member yet? Register Sign In |