Sorry for the necro-post this just seemed to be the best link to store how to achieve this, as I had this set up years ago, and then was annoyed with it not working so dug into it and found this link.
Zarafa Webaccess use to support this and there are some instructions online for various operating systems: https://doc.zarafa.com/7.1/User_Manual/en-US/html/_advanced_zarafa_webaccess_configurations.html
You can essentially open kopano with a link like:
I tried today with Kopano (although an old version), and it unfortunately has a small bug. In particular the sending address does not work or get copied over, although if you have a subject in the link the subject copies.
So you can open the browser with something like:
firefox “http://<SERVER>/<USER>/webaccess/index.php?action=mailto&to=$ADDRESS&subject=$SUBJECT”
The address is ignored (although if you specify cc instead of to it works). I dug into the code a little bit and my guess was that the encoding was wrong as it stores the data in a session variable as “<EMAIL>&subject=<SUBJECT>&cc=<EMAIL>”, so I changed
function storeURLDataToSession()
{
$data = array();
$urlData = urldecode($_SERVER['QUERY_STRING']);
if(!empty($_GET['action']) && $_GET['action'] === 'mailto') {
$data['mailto'] = $_GET['to'];
// There may be some data after to field, like cc, subject, body
// So add them in the urlData string aswell
$pos = stripos($urlData, $_GET['to']) + strlen($_GET['to']);
$subString = substr($urlData, $pos);
$data['mailto'] .= $subString;
}
if(!empty($data)) {
// finally store all data to session
$_SESSION['url_action'] = $data;
}
}
to
function storeURLDataToSession()
{
$data = array();
$urlData = urldecode($_SERVER['QUERY_STRING']);
if(!empty($_GET['action']) && $_GET['action'] === 'mailto') {
$data['mailto'] = "to=" . $_GET['to'];
// There may be some data after to field, like cc, subject, body
// So add them in the urlData string aswell
$pos = stripos($urlData, $_GET['to']) + strlen($_GET['to']);
$subString = substr($urlData, $pos);
$data['mailto'] .= $subString;
}
if(!empty($data)) {
// finally store all data to session
$_SESSION['url_action'] = $data;
}
}
And then tried again and it seemed to work for me.
It’s very possible that this breaks something else, so YMMV.