Welcome Guest, Not a member yet? Register   Sign In
Localhost and Email
#1

[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?
#2

[eluser]alectrash[/eluser]
* comment removed. my bad
#3

[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?
#4

[eluser]dimis[/eluser]
I had the same problem, I used a mail account from a provider and a library as phpmailer
#5

[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.
#6

[eluser]pankaj[/eluser]
@Derek Allard
please give it in detail how to configure this.
#7

[eluser]Derek Allard[/eluser]
I use
Code:
$config['protocol'] = 'smtp';
$config['smtp_host'] = 'smtp1.myisp.ca';
$config['smtp_user'] = 'user';
$config['smtp_pass'] = 'pass';
and pass that into the email lib when loading it.




Theme © iAndrew 2016 - Forum software by © MyBB