I want to add a form for sending me an email in my website, and I find on internet that the only way is through php. I added to my html replit the php file, but it seems i have to install php and I don’t know how (at the moment when I submit the form I open the php file).
move to a PHP repl
How can i host a website from there?
Just hit “Run” and the webview will appear.
Thanks, but it still doesn’t work . When I run
echo "test email" | sendmail myEmail@gmail.com I get an error
sendmail: Cannot open mailhub:25
Might be necroposting, but you can use Flask (Python+HTML) to send form data from the website to Python, which will send an email using the SMTP and MIME libraries.
2 posts were split to a new topic: How to deploy an HTML repl