How do I get email to work with Code Igniter and XAMPP? |
[eluser]Jay Callicott[/eluser]
I've tried sendmail, mail, smtp -- I can't get anything to work on my local machine and I don't get errors from the email->print_debugger(); Anyone have any luck? I'm running on a windows box.
[eluser]Derek Allard[/eluser]
Try this Jay. Before you send out an email try configuring with your ISP's information. Code: $config['protocol'] = 'smtp'; This will obviously depend on if your host allows this, and a few other things... but if you can send email via Thunderbird, then you can send email via localhost, properly configured.
[eluser]Jay Callicott[/eluser]
I am using thunderbird, I tried using gmail's smtp password but it didn't work. Does it matter who the from is? Like will it reject if I say I'm sending from "[email protected]"?
[eluser]Jay Callicott[/eluser]
tried hamster too, nothing works, the print debugger looks fine though, I don't see what's going wrong.
[eluser]Michael Wales[/eluser]
If you try using GMail you will have to set the weird ports they use. Make a normal .php file and try sending a message using php's mail() function. |
Welcome Guest, Not a member yet? Register Sign In |