I have a webserver app where I send Email back to the use of the data that they have been capturing.
my problem is that I have a very flaky smtp server so I would like to be able to put the email function into it's own thread so that my app will not wait there for a minute before the function replies it can't do that at the moment and the user does not despair and start mucking with the web browser, refreshing, moving back and so on.
I have set up my function like in the example.
SendEmailDEG('smtp.mydomain.com',25,'email@mydomain.com',file:emailtosendto,'CAPTURED INFORMATION','','','',loc:completetexttosend)
So I try to add a start at the beginning...
start( SendEmailDEG('smtp.mydomain.com',25,'email@mydomain.com',file:emailtosendto,'CAPTURED INFORMATION','','','',loc:completetexttosend),25000)
that won't compile
so I add like in documentation
start(SendEmailDEG ,25000,'smtp.mydomain.com',25,'email@mydomain.com',file:emailtosendto,'CAPTURED INFORMATION','','','',loc:completetexttosend)
but that won't compile either..
Any idea of how to do this or what I'm doing wrong?
Best Regards...
Roberto Renz