Smart Mailer PHP Support Product Page
Attachment - bug
Reported 14 years ago
5
have this problem
14 years ago MX Addict posted:
When using attachment files. This happens.Complete folder. I get all my pdf files from a folder on the server in my email and can open these files.
With recordset. I get one specified pdf file in my email [from a folder on a server] as attachment but cannot open it because file is damaged. When i download this file with ftp to my computer i can open the file.
So there must something wrong with the option "with recordset"
Replies
Replied 14 years ago
14 years ago Miroslav Zografski replied:
Hello MX,
Check the path to your pdf file that you pass to the SM.
Regards,
Check the path to your pdf file that you pass to the SM.
Regards,
Replied 14 years ago
14 years ago MX Addict replied:
Hi Miroslav,
I just send you an private email where you can check the problem.
Thanks
I just send you an private email where you can check the problem.
Thanks
Replied 14 years ago
14 years ago MX Addict replied:
Include the folder where the file is stored in the recordset filefield:
example:
filename = test.pdf
folder where file is stored = upload
you have to store this in the database or do something with a query:
upload/test.pdf
example:
filename = test.pdf
folder where file is stored = upload
you have to store this in the database or do something with a query:
upload/test.pdf