Page 1 of 1

SEND MAIL attachment option not working

Posted: 09 Jun 2015, 11:43
by ofinet
Hi,
The attachement option at the bottom left is not working for me in the SEND MAIL. After installation I see it but when I click on it to attach document, nothing happened. Is there something I am doing wrong? I have gone throught the options from the component control panel to see if there is a parameter referring to attachment settings but none.

Please help !!!
:x

Re: SEND MAIL attachment option not working

Posted: 09 Jun 2015, 16:44
by Benno
Hi,
see: https://www.phoca.cz/documents/60-phoca- ... hoca-email
Go to Joomla! administration - to Components - Phoca Email - Write. Fill the form fields and send the email. Article ID can be selected. If yes, then text of this article will be sent as email body text. If in folder:

phocaemail (in root of your Joomla! site)

there are some files, such files can be selected as attachment. Attachment files will be sent through the email.
Kind regards,
Benno

Re: SEND MAIL attachment option not working

Posted: 09 Jun 2015, 17:10
by ofinet
Hi Benno,
Thanks a lot, it works. You can close the call now.

Re: SEND MAIL attachment option not working

Posted: 09 Jun 2015, 18:17
by Benno
You're welcome!

Kind regards,
Benno

Re: SEND MAIL attachment option not working

Posted: 11 Sep 2016, 21:39
by RobertKza
Is it possible to change the attachment folder from phocaemail to phocadownload (and it's subdirectories).
The reason for this is that my users upload files using the Phoca Download tool which then have to be distributed to others not necessarily visiting the website.
At the moment the only way I see to get the files is to copy them using Phoca Commander. A challenging additional admin burden for many files.
Regards Robert

Re: SEND MAIL attachment option not working

Posted: 11 Sep 2016, 23:42
by Jan
Hi, try to edit the code, open:
administrator/components/com_phocaemail/helpers/phocaemail.php

First method is getPath() method. So try to change the folder here.

Jan

Re: SEND MAIL attachment option not working

Posted: 12 Sep 2016, 07:59
by RobertKza
Thanks Jan

Re: SEND MAIL attachment option not working

Posted: 12 Sep 2016, 22:15
by Jan
Ok