I have a routine whereby I send email in which I have the following code.
strMsg := 'mailto:' + 'delphiman@bigpond.com' + '?Subject=' + 'REGISTRATION'+ ' ' + strProduct;
Which works fine.
Now I need to know what code to add to it so that the resulting e-mail will attach (say)
c:\h\MyFile.gdb in the "Ättached" section of the e-mail.
I have tried the following from which I get an exception at c of c:\h
strMsg := 'mailto:' + 'delphiman@bigpond.com' + '?Subject=' + 'REGISTRATION'+ ' ' + strProduct
+ '?Attached=' + c:\h\MyFile.gdb;
Any suggestions please?
Thanks in advance.
strMsg := 'mailto:' + 'delphiman@bigpond.com' + '?Subject=' + 'REGISTRATION'+ ' ' + strProduct;
Which works fine.
Now I need to know what code to add to it so that the resulting e-mail will attach (say)
c:\h\MyFile.gdb in the "Ättached" section of the e-mail.
I have tried the following from which I get an exception at c of c:\h
strMsg := 'mailto:' + 'delphiman@bigpond.com' + '?Subject=' + 'REGISTRATION'+ ' ' + strProduct
+ '?Attached=' + c:\h\MyFile.gdb;
Any suggestions please?
Thanks in advance.