Welcome Guest, Not a member yet? Register   Sign In
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]Michael Wales[/eluser]
XAMPP, not XAMPP Lite, comes with Mercury - but it's a monster. I prefer Hamster, it's pretty easy to setup and get configured.

[eluser]Derek Allard[/eluser]
Try this Jay. Before you send out an email try configuring with your ISP's information.

$config['protocol'] = 'smtp';
$config['smtp_host'] = 'smtp1.isp.ca';
$config['smtp_user'] = 'username';
$config['smtp_pass'] = 'password';
$config['smtp_port'] = '25';

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.

Theme © iAndrew 2016 - Forum software by © MyBB