Tag: email-in-php

Email using PHP
2020-12-11 22:08:52

PHP must be configured correctly in the php.ini file with details about how your system sends emails. Open the available php.ini in /etc/ directory and look for the section that starts with [mail function]. Windows users should make sure that there are 2 directives provided. The first one is called SMTP, which defines your email server address. The second is called sendmail_from, which defines your own email address.

Read more