Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,151,189 members, 7,811,483 topics. Date: Sunday, 28 April 2024 at 12:51 PM

Help : My Php Email Script Works Only On Localhost - Programming - Nairaland

Nairaland Forum / Science/Technology / Programming / Help : My Php Email Script Works Only On Localhost (436 Views)

My Dashboard Works Well On Localhost But Does Not Work After Hosting / PHP Script Works Fine On Local Server But Not On Live Server / PHP Secure Email Script (2) (3) (4)

(1) (Reply) (Go Down)

Help : My Php Email Script Works Only On Localhost by leastpaycom: 7:41am On Jul 16, 2023
Hello php dev,

my php email script does not work on a live server but works well on a localhost.
how do i fix this please.

screenshot of code in comment section
#whogohost
Re: Help : My Php Email Script Works Only On Localhost by leastpaycom: 7:41am On Jul 16, 2023
leastpaycom:
Hello php dev,

my php email script does not work on a live server but works well on a localhost.
how do i fix this please.

screenshot of code in comment section
#whogohost

Re: Help : My Php Email Script Works Only On Localhost by Nobody: 8:17am On Jul 16, 2023
leastpaycom:
Hello php dev,

my php email script does not work on a live server but works well on a localhost.
how do i fix this please.

screenshot of code in comment section
#whogohost


Hosting Platforms like GoDaddy shared server won't allow you to use an external Email server. Try to catch the error(on the liveserver) and you'll get a lead.
Re: Help : My Php Email Script Works Only On Localhost by leastpaycom: 11:05am On Jul 16, 2023
I even used an email server from them, didn't even work
Re: Help : My Php Email Script Works Only On Localhost by leastpaycom: 2:30pm On Jul 16, 2023
Another script that worked on localhost

This time i used Amazon Simple Email Service (SES) - AWS

Re: Help : My Php Email Script Works Only On Localhost by Purvan(m): 3:19pm On Jul 16, 2023
Why are you even using a nigerian hosting service?
Re: Help : My Php Email Script Works Only On Localhost by emetisuccess(m): 3:52pm On Jul 16, 2023
Go and make use of hostinger titan. Everything will be soft.
Have u done any setup with ur gmail?
Re: Help : My Php Email Script Works Only On Localhost by leastpaycom: 10:53pm On Jul 16, 2023
Yes• sure
emetisuccess:
Go and make use of hostinger titan. Everything will be soft.
Have u done any setup with ur gmail?
Re: Help : My Php Email Script Works Only On Localhost by emetisuccess(m): 12:28pm On Jul 17, 2023
leastpaycom:
Yes• sure
Then go and use hostinger titan if u have properly setup ur email
Re: Help : My Php Email Script Works Only On Localhost by leastpaycom: 4:18pm On Jul 19, 2023
Thanks

(1) (Reply)

Hello! Python Programmers Let's Meet Here! / Check Out My New App For Creating 3D Logos / Come In Here.

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 7
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.