Php code not working

https://mandatorytrendz.com/[email protected]&name=JASHANJEET&doj=18-November-2019
this page has php code to send a email to given email id with predefined content. but no part of the php script runs (i checked with putting echo in code)

That’s what i get on console:

cron

So you should read this:
https://infinityfree.net/support/http-error-500/

3 Likes

Also, you may want to read this article about sending email from PHP, if you haven’t done so already.

https://infinityfree.net/support/php-mail/

2 Likes

thank you for your help. problem is now solved

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.