No/Wrong link in activity email

Hey everyone,

when I receive an activity email, it does not contain the link to my nextcloud.

Here is the mail:

Hello user,

You are receiving this email because the following things happened at /

  • List of Actions

Instead of “/” it should contain the URL to nextcloud. I’m not sure if it’s a bug or a problem with my installation.

I use Nextcloud 10.0 and set language to de_DE (formal German).


Check the ‘overwrite.cli.url’ => ‘’, option in your config.php file. I believe it determines what URL is used in email notifications.

For example,
‘overwrite.cli.url’ => ‘’,


You’re absolutely right. I changed this setting in my config.php and it works. Thank you very much.

I also want to thank you for this solution!

unfortunately in 13 this code does not create a clickable link, it just prints the “AbsoluteURL” at the beginning of the mail , but not at the beginning of the file name.>

            $template->addHeading($l->t('Hello %s',[$user->getDisplayName()]), $l->t('Hello %s,',[$user->getDisplayName()]));
            $template->addBodyText($l->t('There was some activity at %s', [$this->urlGenerator->getAbsoluteURL('/')]));

            foreach ($activityEvents as $activity) {
                    /** @var IEvent $event */
                    $event = $activity['event'];
                    $relativeDateTime = $activity['relativeDateTime'];

                    $template->addBodyListItem($event->getParsedSubject(), $relativeDateTime, $event->getIcon());