I just tried creating a CUSTOM SMTP API in the grid app. When I ran the app the grid displayed correctly with the PDF (Email) Button. When I tried to email the pdf I received the following error message:
Fatal error: Uncaught Error: Call to undefined function sc_send_mail_api() in C:\Program Files\NetMake\v9\wwwroot\scriptcase\app\systructorV3\grid_account_holder\grid_account_holder_export_email.php:92
Stack trace:
#0 C:\Program Files\NetMake\v9\wwwroot\scriptcase\app\systructorV3\grid_account_holder\grid_account_holder_export_email.php(32): exportEmail_grid_account_holder->exportEmailSend()
#1 C:\Program Files\NetMake\v9\wwwroot\scriptcase\app\systructorV3\grid_account_holder\grid_account_holder_export_email.php(8): exportEmail_grid_account_holder->__construct()
#2 {main}
thrown in C:\Program Files\NetMake\v9\wwwroot\scriptcase\app\systructorV3\grid_account_holder\grid_account_holder_export_email.php on line 92