Smart Mailer PHP Support Product Page

Attachment - bug

Reported 30 Oct 2010 00:26:55
5
have this problem
30 Oct 2010 00:26:55 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 01 Nov 2010 10:58:40
01 Nov 2010 10:58:40 Miroslav Zografski replied:
Hello MX,

Check the path to your pdf file that you pass to the SM.

Regards,
Replied 01 Nov 2010 14:54:30
01 Nov 2010 14:54:30 MX Addict replied:
Hi Miroslav,

I just send you an private email where you can check the problem.

Thanks
Replied 06 Nov 2010 15:03:16
06 Nov 2010 15:03:16 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

Reply to this topic