• 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!

TOPIC: attachment file names

attachment file names 14 years 5 months ago #9169

Hi,

When I add a file attachment to an email, RSMail changes the name of the file to some obscure collection of letters and numbers.

Does that happen to everyone?
Is it possible to retain the file attachment name?

Thanks
The administrator has disabled public write access.

Re:attachment file names 14 years 5 months ago #9228

  • bogdanc
  • bogdanc's Avatar
  • OFFLINE
  • Moderator
  • Posts: 669
  • Thank you received: 11
Hello,

Please make sure that you are using the latest version of RSMail! (revision 6). You can refer to this article from our documentation where it is explained how you can update the component:

www.rsjoomla.com/customer-support/docume...updating-rsmail.html
The administrator has disabled public write access.

Re:attachment file names 14 years 3 months ago #9795

  • flowta
  • flowta's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 5
Hi

Im getting the same problem, and I purchased and downloaded yesterday. Any suggestions?

Thanks :P
The administrator has disabled public write access.

Re:attachment file names 14 years 3 months ago #9808

I have the latest revision.

How can I retain the original file names? It looks sketchy to have those long file names of numbers and letters.

Thanks!
The administrator has disabled public write access.

Re:attachment file names 14 years 3 months ago #9827

  • chriger
  • chriger's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 4
Hi all !
I submitted a ticket and got the following answer:

I do not recommend performing any changes on this issue. This was designed as a security measure for uploading duplicates. This will require source code modifications that will be lost upon updating the component.

However if you do wish to make this modifications then you can try editing the file administrator/components/com_rsmail/controllers/messages.php and around line 57 replace this:

$filename = md5(uniqid('',FALSE)."_". basename( $files[$i],'.'.$extension));

with:

$filename = basename( $files[$i],'.'.$extension);

As you see they have a reason for doing so and you only can change this behavior by modifying the source-code. Certainly it is recommended not to do so - as described above.

But I did this modify and now filenames remain unchanged when uploaded.

Best regards
Christine
The administrator has disabled public write access.

Re:attachment file names 13 years 9 months ago #10984

Hello,

do somewhere know how does it work in revisin 9?

Best regards!
Last Edit: 13 years 9 months ago by joachim.vollmer.
The administrator has disabled public write access.

Re:attachment file names 13 years 9 months ago #10991

  • alexp
  • alexp's Avatar
  • OFFLINE
  • RSJoomla! Official Staff
  • Posts: 2253
  • Thank you received: 180
Hello,

There is no need to perform this modification in the latest revision (9) as it no longer performs the file name change if there isn't a file that is named the same.
Please note: my help is not official customer support. To receive your support, submit a ticket by clicking here
Regards,
RSJoomla! Development Team
The administrator has disabled public write access.
  • 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!