NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: ianburgess on August 20, 2012, 04:30:20 AM

Title: SendEmail on a new thread
Post by: ianburgess on August 20, 2012, 04:30:20 AM
I am using sendemail based on Nettalk example. In the example it says that the SendEmail procedure can be STARTed as the parameters are passed as a group. However I get compile errors when I compile if I try and STArt it.

SendEmail(email)  works fine

But, START(SendEmail, 25000, email) gives compile errors
Title: Re: SendEmail on a new thread
Post by: Bruce on August 20, 2012, 04:34:28 AM
what are the errors?

Title: Re: SendEmail on a new thread
Post by: ianburgess on August 20, 2012, 04:55:17 AM
I get Syntax Error: No matching prototype available if I change the Web11 example to START(SendEmail, 25000, email)

I just realised that I need to remove the ,String from the Prototype so it just reads (String pParms) - that now compliles and works when STARTed.