Send email process

This public forum is for user-to-user discussions of PHPMaker. Note that this is not support forum.
Post Reply
mgqz
User
Posts: 91

Send email process

Post by mgqz »

I create and insert in a table notifications based on data on a notification table that has subject, body and destination based on my users database.

I would like to make a custom page that when entered automatically send the pending notifications (status not sent), via email and update the status to sent.

How is this achieved, how to add / use the email functions in this custom page ? update with sqlscalar ? any ideas ?

thanks for your feedback.


mobhar
User
Posts: 11765

Post by mobhar »

There's a global function named SendEmail that you can use. You may see the code in the generated src/phpfn.php file.


Post Reply