I want to know something about PHP w/ Glitch


#1

Hello there!

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

Thanks,
Happy Christmas!


#2

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!