SEND MAIL attachment option not working

Phoca Email (Newsletter) - sending emails and managing newsletters in Joomla! CMS
ofinet
Phoca Member
Phoca Member
Posts: 30
Joined: 15 Jul 2011, 15:21
Location: UK
Contact:

SEND MAIL attachment option not working

Post 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
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9095
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: SEND MAIL attachment option not working

Post 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
ofinet
Phoca Member
Phoca Member
Posts: 30
Joined: 15 Jul 2011, 15:21
Location: UK
Contact:

Re: SEND MAIL attachment option not working

Post by ofinet »

Hi Benno,
Thanks a lot, it works. You can close the call now.
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9095
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: SEND MAIL attachment option not working

Post by Benno »

You're welcome!

Kind regards,
Benno
RobertKza
Phoca Member
Phoca Member
Posts: 19
Joined: 28 Jul 2016, 06:13

Re: SEND MAIL attachment option not working

Post 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
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47810
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: SEND MAIL attachment option not working

Post 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
If you find Phoca extensions useful, please support the project
RobertKza
Phoca Member
Phoca Member
Posts: 19
Joined: 28 Jul 2016, 06:13

Re: SEND MAIL attachment option not working

Post by RobertKza »

Thanks Jan
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47810
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: SEND MAIL attachment option not working

Post by Jan »

Ok
If you find Phoca extensions useful, please support the project
Post Reply