Sending e-mails via PHP

To send data acquired from forms can be done by PHP function mail(). When defining the e-mail header data use for “From” atribute only an existing e-mail address. Our mailservers are configured that e-mails from a non-existent address (e.g. noreply@yourdomain.tld) or address created on a custom server (e.g. on Gmail) will not be send.

There is also antispam protection and therefore From atribute cannot be filled dynamically and filled e-mail can only be our existing e-mail or whitelisted e-mail.

Updated on March 19, 2021

Was this article helpful?

Related Articles