How to activate mail() function
Posted by: pixeleo (175.176.92.---)
Date: April 14, 2022 12:15PM

Hello,

I tried implementing php mail() function via localhost.
But it seems it does not work.

Is there a way to work it out?

Regards
Leo

Options: ReplyQuote
Re: How to activate mail() function
Posted by: Otomatic (Moderator)
Date: April 14, 2022 02:58PM

Hi,

See PHP mail() function

It is better to use Sendmail or PhpMailer.

How To Use Sendmail On Windows To Send Email Using PHP

PhpMailer on Windows

------------------------------------------------------------------------------------------------------------
Wampserver 3.2.9 32 bit - Apache 2.4.53 - PHP 8.1.5…5.6.40 - MySQL 5.7.38 - MariaDB 10.5.13/10.6.5
Wampserver 3.2.9 64 bit - Apache 2.4.53 - PHP 8.1.5…5.6.40 - MySQL 5.7.38/8.0.29 - MariaDB 10.5.15/10.7.3
PhPMyadmin 5.1.3 - MysqlDumper 1.24.5
on W10 and W7 Pro 64 bit
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons
« Ce n'est pas parce qu'ils sont nombreux à avoir tort, qu'ils ont forcément raison. Coluche »
« It's not because they are many to be wrong, they are necessarily right. Coluche »

Options: ReplyQuote


Sorry, only registered users may post in this forum.