I want to know something about PHP w/ Glitch

Hello there!

I wan’t to know if I can use mail() function on Glitch Lamp POC PHP. I think its disabled.

Happy Christmas!

Hi @srtc, you are correct, the default mail configuration for PHP will not work in Glitch.

If you wish to send email from Glitch I’d suggest using a mailing service. Sendmail has a fairly well-supported offering with a free tier, npm modules, and a PHP-based client library.

Hope this helps! Happy Glitching!

1 Like