Hi, I have already set up a working SMTP server and tested it. All of my moodle mails including forum notification emails and message emails does send out.
However, I have developed a php page of my own as a help desk.(please see attached) When the user clicks confirm, the (attached) php page will be executed, capturing the details and sending an email to a designated admin.
However, i am unable to send emails via the Default PHP mail function. Is there any way to keep the SMTP server AS WELL AS set up settings for the default PHP mail function?? I have tried to no avail to send emails via moodle's 'email_to_user()' function.
Help is greatly appreciated!!