![]() |
Localhost and Email - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: Localhost and Email (/showthread.php?tid=12700) |
Localhost and Email - El Forum - 10-28-2008 [eluser]bennyhill[/eluser] I know I cannot test a script that sends email from my localhost on my computer, but is there a way that if I am testing locally, the script will send the email from my remote server? Localhost and Email - El Forum - 10-28-2008 [eluser]alectrash[/eluser] * comment removed. my bad Localhost and Email - El Forum - 10-28-2008 [eluser]gon[/eluser] Quote:I know I cannot test a script that sends email from my localhost on my computer, but is there a way that if I am testing locally, the script will send the email from my remote server? Why can't you send from localhost? Localhost and Email - El Forum - 10-28-2008 [eluser]dimis[/eluser] I had the same problem, I used a mail account from a provider and a library as phpmailer Localhost and Email - El Forum - 10-28-2008 [eluser]Derek Allard[/eluser] You can do this no problem. I just set up my ISP's smtp settings in the email config and send away. Localhost and Email - El Forum - 10-28-2008 [eluser]pankaj[/eluser] @Derek Allard please give it in detail how to configure this. Localhost and Email - El Forum - 10-28-2008 [eluser]Derek Allard[/eluser] I use Code: $config['protocol'] = 'smtp'; |