Recent posts
#21
API Based Plugins / Re: Replace a few default $lab...
Last post by JohnDoh - June 09, 2025, 02:52:52 PMThat's an interesting question. I think you can do something like this:
Code Select
class contextmenu extends rcube_plugin
{
public function init()
{
$this->merge_texts('localization/');
}
public function merge_texts($dir, $add2client = false)
{
$rcube = rcube::get_instance();
$texts = $rcube->read_localization(realpath(slashify($this->home) . $dir));
if (!empty($texts)) {
$merge = [];
foreach ($texts as $key => $value) {
$merge[$key] = $value;
}
$rcube->load_language($_SESSION['language'] ?? null, null, $merge);
// add labels to client
if ($add2client && method_exists($rcube->output, 'add_label')) {
if (is_array($add2client)) {
$js_labels = array_map([$this, 'label_map_callback'], $add2client);
} else {
$js_labels = array_keys($merge);
}
$rcube->output->add_label($js_labels);
}
}
}
}
assuming your texts are in a folder called localization and files use the regular Roundcube naming scheme. Essentially do the same thing as the native add_texts method but merge (and strip the domain) instead. #22
API Based Plugins / Replace a few default $labels
Last post by jigster - June 09, 2025, 06:44:48 AMHi, I want to change a couple of strings in the program/localization/en_GB/labels.inc file, e.g. $labels['trash'], but need to do it with a plugin to avoid having to customise on every roundcube update. I am familiar with how to write a plugin, but don't seem to be able to work out how to change the default $labels['trash'] string in a plugin. Any ideas would be very welcome!
#23
Theme Releases / Re: Elastic2022
Last post by Seb1k - June 08, 2025, 05:11:22 PMI updated the "compose" page


I deleted the reply-to & followup-to, I have never seen them used....
I'll create version 1.4 soon, if there are no complaints.
Enjoy !


I deleted the reply-to & followup-to, I have never seen them used....
I'll create version 1.4 soon, if there are no complaints.
Enjoy !
#24
Release Discussion / Round cube worked on PHP 8.1-f...
Last post by mary4 - June 08, 2025, 03:51:38 PMi cannot get roundcube working on sending emails on version php 8.3-fpm but it worked perfectly on version 8.1-fpm
i really need help with this
here is the errors from the error logs
[08-Jun-2025 15:50:53 -0400]: <ich4ro8d> PHP Error: Invalid response code received from server (POST /roundcube/?_task=mail&_unlock=loading1749412248926&_framed=1&_lang=en&_action=send)
[08-Jun-2025 15:50:53 -0400]: <ich4ro8d> PHP Error: Invalid response code received from server (POST /roundcube/?_task=mail&_unlock=loading1749412248926&_framed=1&_lang=en&_action=send)
[08-Jun-2025 15:50:53 -0400]: <ich4ro8d> SMTP Error: Authentication failure: (Code: -1) in /var/www/html/roundcube/program/lib/Roundcube/rcube.php on line 1799 (POST /roundcube/?_task=mail&_unlock=loading1749412248926&_framed=1&_lang=en&_action=send)
on latest stable version btw
i really need help with this
here is the errors from the error logs
[08-Jun-2025 15:50:53 -0400]: <ich4ro8d> PHP Error: Invalid response code received from server (POST /roundcube/?_task=mail&_unlock=loading1749412248926&_framed=1&_lang=en&_action=send)
[08-Jun-2025 15:50:53 -0400]: <ich4ro8d> PHP Error: Invalid response code received from server (POST /roundcube/?_task=mail&_unlock=loading1749412248926&_framed=1&_lang=en&_action=send)
[08-Jun-2025 15:50:53 -0400]: <ich4ro8d> SMTP Error: Authentication failure: (Code: -1) in /var/www/html/roundcube/program/lib/Roundcube/rcube.php on line 1799 (POST /roundcube/?_task=mail&_unlock=loading1749412248926&_framed=1&_lang=en&_action=send)
on latest stable version btw
#25
General Discussion / sended mail is disappeared
Last post by Chris62 - June 08, 2025, 05:15:10 AMHello,
I use rouncube webmail and some day's ago i saw a lot of items in the folder "sended mail" is gone. All the mail i sended this year and in 2024 has gone and i did not delete them myselves.
Is there any solution to get this mail back again?
Thanks
Chris
I use rouncube webmail and some day's ago i saw a lot of items in the folder "sended mail" is gone. All the mail i sended this year and in 2024 has gone and i did not delete them myselves.
Is there any solution to get this mail back again?
Thanks
Chris
#26
General Discussion / Re: Inbox not receiving emails
Last post by JohnDoh - June 07, 2025, 02:44:00 PMRoundcube is a mail client. What you are describing sounds like a server side problem. Please contact your e
mail provider for support.
mail provider for support.
#27
General Discussion / Inbox not receiving emails
Last post by aprilkenyon - June 07, 2025, 11:27:57 AMI'm not able to receive or send emails. Emails I sent to myself from another email address are returned with this label
This is an automatically generated Delivery Status Notification.
Delivery to the following recipients was aborted after 14.8 hour(s):
This is an automatically generated Delivery Status Notification.
Delivery to the following recipients was aborted after 14.8 hour(s):
#28
General Discussion / Re: Unable to get rid of "The ...
Last post by Robert S - June 06, 2025, 08:23:48 PMThanks for the suggestions. No further ahead:
upload_max_filesize 64M 64M
post_max_size 64M 64M
upload_max_filesize 64M 64M
post_max_size 64M 64M
#29
Requests / Autoset subject with first att...
Last post by cyrobg - June 06, 2025, 06:28:08 AMHello,
small feature request - on new message composing, when subject is not specified and first file attached, set automatically subject with attached file name value.
small feature request - on new message composing, when subject is not specified and first file attached, set automatically subject with attached file name value.
#30
General Discussion / Re: Unable to get rid of "The ...
Last post by SKaero - June 02, 2025, 11:21:16 AM1. Make sure you restart Apache after you made the change to the php.ini file.
2. Create a file (example info.php) in the Roundcube folder with the following:
2. Create a file (example info.php) in the Roundcube folder with the following:
Code Select
<?php
phpinfo();
Then go to that file and search for "upload_max_filesize" and "post_max_size" to see what the setting actual is. The config files that are used to get to those settings are shown at the top of the page.