shannah / xataface

Framework for building data-driven web applications in PHP and MySQL
http://xataface.com
GNU General Public License v2.0
134 stars 57 forks source link

Send e-mail validation #128

Open Dydouch opened 1 year ago

Dydouch commented 1 year ago

Hello, There is a bug in "xataface/actions/register.php" line: 466 PHP Warning: mail() expects parameter 3 to be a string, array given in xataface/actions/register.php on line 464 The error is due to the fact that $info["message"] is an array

itmuecke commented 6 months ago

Maybe this is not an error within xataface. I had a problme like this a while ago. It came out that the settings for the apache webserver on my machine had no ServerAdmin set. The email address has to be set to get email sending to work in xataface.

So you can edit your website config for apache and add this: ServerAdmin enter-yout-mail-address-here@invalid.nix

You can find more details here: apache.org - ServerAdmin