0

Php

hello programmers how to configure mail function on php.ini file so That it can send mail through the script

28th Sep 2017, 5:23 AM
Azim Conrad Wawire
Azim Conrad Wawire - avatar
1 Answer
+ 2
-> Open your php.ini file (if you don't know where this is, see below) -> Search for the line that reads [mail function] -> Add/change the details of your mail server. This could be a local mail server or the mail server of your ISP. -> Save/close the php.ini file -> Restart your web server I would suggest to use PHPMailer instead of mail() function, it provides much more options.
1st Oct 2017, 8:26 AM
Ankit Agrawal
Ankit Agrawal - avatar