Hello, I am testing PerplexMail dll to allow the "Send PerplexMail" action on a workflow. Everything works as it should except the attachments, they are not added to the email.
Do I need to configure something else on my email template?
I work at Perplex and helped develop the package, particularly the Workflow.
I understand the e-mail itself is sent out as expected, but only the attachments are not there. There are a few things you can check first, just to rule out the obvious:
1) The form in question contains a File Upload data type, and at least 1 file is uploaded.
2) The uploaded file is present on disk. Umbraco should be saving any files uploaded through the File Upload to /media/forms/[GUID]/[file_name].
Could you verify those 2 points?
Additionally, if you place [#formsautogenerate#] in the e-mail body (which is replaced by all field names and values), does the name of the uploaded file show up there?
1-Sorry I forgot to mention, I'm working with PerplexForms upload control (can filter file extensions, file size).
2-The uploaded file did exist (as a work around I was setting a link to the file download on the email content), [#formsautogenerate#] works fine.
I just made a test with the normal Umbraco Forms upload control and it worked. So I guess that its just a bug with that PerplexForms upload control.
Do you know if its a common issue?
My apologies for the delayed reaction, I am following this topic but did not get a notification when you posted your reply.
The attachment functionality was successfully tested with our custom Upload controls, but clearly something is not working properly. I will need to do some testing of my own, and will get back to you hopefully before the end of tomorrow.
Thank you for your patience.
~ Update
I just tested the functionality with version 1.1 of our Umbraco Forms extensions (https://our.umbraco.org/projects/backoffice-extensions/umbraco-forms-on-perplex-steroids/) and the latest Workflow, and the files are attached as expected. Are you on the latest version of the Forms extension as well?
I cannot quickly see something that would be causing your issue, especially since it does work with the regular Umbraco Form upload, and files are created fine when you use our custom file upload.
We are hoping to release an improved version of our form extensions soon with some additional functionality (this week or next week), if your issue is not solved beforehand, perhaps that new release will fix your issue.
I have checked the package installation and although its the latest available version (Umbraco Forms on Perplex Steroids) it says version 1.0 when installed, is this normal?
PerplexMail version: 2016-01-27
Umbraco Forms version: 4.2.1
I have uploaded a more recent version of the Workflow.dll, could you try and see if it works now? Here is the direct link. With a new 7.4.2 installation and the old Workflow.dll, I could reproduce the bug you mentioned. When I tested in an other project it worked fine, so I suppose there has been some kind of mixup with the dll.
We have also updated our Umbraco Forms on Perplex Steroids package to a new version, I have tested with that version but the new DLL should work fine with older versions as well.
Regarding the version number, I believe we did not change it in the package description to 1.1 before. The new version should correctly be named 1.2.
Perplexmail not attaching uploads
Hello, I am testing PerplexMail dll to allow the "Send PerplexMail" action on a workflow. Everything works as it should except the attachments, they are not added to the email.
Do I need to configure something else on my email template?
Thanks in advance.
Hi Angel,
I work at Perplex and helped develop the package, particularly the Workflow.
I understand the e-mail itself is sent out as expected, but only the attachments are not there. There are a few things you can check first, just to rule out the obvious:
1) The form in question contains a File Upload data type, and at least 1 file is uploaded.
2) The uploaded file is present on disk. Umbraco should be saving any files uploaded through the File Upload to /media/forms/[GUID]/[file_name].
Could you verify those 2 points?
Additionally, if you place [#formsautogenerate#] in the e-mail body (which is replaced by all field names and values), does the name of the uploaded file show up there?
Regards, Daniël Knippers
Hi Daniël:
1-Sorry I forgot to mention, I'm working with PerplexForms upload control (can filter file extensions, file size).
2-The uploaded file did exist (as a work around I was setting a link to the file download on the email content), [#formsautogenerate#] works fine.
I just made a test with the normal Umbraco Forms upload control and it worked. So I guess that its just a bug with that PerplexForms upload control. Do you know if its a common issue?
Thanks in advace.
Hi Angel,
My apologies for the delayed reaction, I am following this topic but did not get a notification when you posted your reply.
The attachment functionality was successfully tested with our custom Upload controls, but clearly something is not working properly. I will need to do some testing of my own, and will get back to you hopefully before the end of tomorrow.
Thank you for your patience.
~ Update
I just tested the functionality with version 1.1 of our Umbraco Forms extensions (https://our.umbraco.org/projects/backoffice-extensions/umbraco-forms-on-perplex-steroids/) and the latest Workflow, and the files are attached as expected. Are you on the latest version of the Forms extension as well?
I cannot quickly see something that would be causing your issue, especially since it does work with the regular Umbraco Form upload, and files are created fine when you use our custom file upload.
We are hoping to release an improved version of our form extensions soon with some additional functionality (this week or next week), if your issue is not solved beforehand, perhaps that new release will fix your issue.
Hello Daniël:
I have checked the package installation and although its the latest available version (Umbraco Forms on Perplex Steroids) it says version 1.0 when installed, is this normal?
PerplexMail version: 2016-01-27 Umbraco Forms version: 4.2.1
Thanks in advance.
Hi Angel,
I have uploaded a more recent version of the Workflow.dll, could you try and see if it works now? Here is the direct link. With a new 7.4.2 installation and the old Workflow.dll, I could reproduce the bug you mentioned. When I tested in an other project it worked fine, so I suppose there has been some kind of mixup with the dll.
We have also updated our Umbraco Forms on Perplex Steroids package to a new version, I have tested with that version but the new DLL should work fine with older versions as well.
Regarding the version number, I believe we did not change it in the package description to 1.1 before. The new version should correctly be named 1.2.
Hello Daniël:
I downloaded and installed the updates, it worked as expected. Thank you so much for your help.
is working on a reply...