I am using AMPPS on my localhost on a Mac (Lion). I want to use AMPPS to send email, whilst testing locally. I have some PHP scripts installed and when testing user sign-up / registration the user needs to complete the registration by clicking on a link in their email.
The user never receives these emails as i don't have an email server set up. Is this just a case of installing one of the mail scripts and changing the smtp settings in my php.ini?
I have installed AMPPS in my laptop (I use WINDOW 10 64 bit version) to learn web development. I was trying to send a mail to user for a contact form.
Now I am getting below error:
( ! ) Warning: mail(): Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in C:\Program Files (x86)\Ampps\www\6-php\Sending mail using PHP 7.10.php on line 11
I have made below changes to php.ini file in both php and apache folders: but the scripts is not taking GMAIL credentials: