Hi, wow, that was frustrating ... I forgot to add the "$session->set("auth_data", $data);" part in the new function. But that did not completely fix the issue:
A delimited address like me+t...@domain.tld is now shown as "t...@domain.tld". I need to add "t...@domain.tld" to show delimited mails in the search panel. Anyways it shows the address correctly in the bottom panel. Screenshots always help, I guess: https://i.imgur.com/Td8obp4.png I gladly pay your hourly rate to implement this into the parser. I had a look into it but my C isn't good at all. :-) André -----Ursprüngliche Nachricht----- Von: Janos SUTO [mailto:s...@acts.hu] Gesendet: Sonntag, 21. August 2016 14:32 An: Piler User <piler-user@list.acts.hu> Betreff: Re: Access to mails with delimiter "+" Hello, try adding the following to config-site.php: $config['CUSTOM_EMAIL_QUERY_FUNCTION'] = 'aaaa'; function aaaa($username = '') { $session = Registry::get('session'); $data = $session->get("auth_data"); if($username == 'myn...@example.org') { array_push($data['emails'], "myname+appen...@example.org"); } $session->set("auth_data", $data); } then check on the settings page if the appended email is listed. Note that I didn't check if the plus sign is handled correctly by the parser and the indexer. Janos On 2016-08-21 12:18, André Peters wrote: > Hi, > > Any idea how I can give access to mails with a delimiter? Like in > myname+appen...@example.org. > > I wrote a function to include these aliases in the $data['emails'] > array when logging in, but I cannot see them anyway. Any ideas? > > André
smime.p7s
Description: S/MIME cryptographic signature