Share with eMail wont work if own Mailprovider used

Hello,

I have a managed hosting for nexctcloud with admin access.

I have prefilled email-provider settings that worked.

I want to use my own email provider (like german professionals GMX, mailbxo.org or similar).

All tests I dow after are with the butten “send Testemail”. Everytime I received the testmail. but if I want to share for example a folder with mail I get “Failed to send share by mail” and it will not shared. In the nexcloud logs I found “LocalServerExceptionNo DNS record found for mailbox.org”.

the managed hostingprovider for nextcloud said: “all seems/is correct on our side”

Waht can I do ?

Please fill the support template, because we don’t know anything about your configuration.

the most infos i am unable to say, because i do not have access to the server etc. it is a managed hosting, I do not host it myself. but I have all Administration tabs/settings in nextcloud-WUI. But I can see Nextcloud Hub 26 Spring (34.0.3).

I tested Firefox, Chrome. I cannot answer more.

Please share the full raw log, and any others immediately before or after associated with the same request ID.

Send (working) testmail to mymail@posteo.de:

Eingabeaktionen protokollieren
Information
no app in context

The app config key dav/hide_absence_settings is not defined in the config lexicon
19.09.2026, 14:56:32

Fehlersuche
no app in context

Email transport "Symfony\Component\Mailer\Transport\Smtp\SmtpTransport" stopped
19.09.2026, 14:56:20

Fehlersuche
no app in context

Email transport "Symfony\Component\Mailer\Transport\Smtp\SmtpTransport" stopping
19.09.2026, 14:56:20

Fehlersuche
core

Sent mail to "Array ( [mymail@posteo.de] => mynexcloudlogin ) " with subject "Test der E-Mail-Einstellungen"
19.09.2026, 14:56:20

Fehlersuche
no app in context

Email transport "Symfony\Component\Mailer\Transport\Smtp\SmtpTransport" started
19.09.2026, 14:56:20

Fehlersuche
no app in context

Email transport "Symfony\Component\Mailer\Transport\Smtp\SmtpTransport" starting

Share folder to toshare@mailbox.org:

Information
no app in context

The app config key dav/hide_absence_settings is not defined in the config lexicon
19.09.2026, 14:57:50

Fehler
files_sharing

ExceptionFreigabe von Nextcloud fehlgeschlagen, da toshare@mailbox.org nicht gefunden wurde. Möglicherweise ist der Server nicht erreichbar oder nutzt ein selbst-erstelltes Zertifikat.
19.09.2026, 14:57:41

Information
federatedfilesharing

failed sharing Nextcloud with toshare@mailbox.org
19.09.2026, 14:57:41

Warnung
no app in context

ClientExceptionClient error: GET https://mailbox.org/ocm-provider resulted in a 404 Not Found response:     <noscri (truncated...)
19.09.2026, 14:57:41

Fehlersuche
no app in context

ClientExceptionClient error: GET https://mailbox.org/ocm-provider resulted in a 404 Not Found response:     <noscri (truncated...)
19.09.2026, 14:57:41

Fehlersuche
no app in context

ClientExceptionClient error: GET https://mailbox.org/.well-known/ocm resulted in a 404 Not Found response:  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/ (truncated...)
19.09.2026, 14:57:41

Fehlersuche
dav

RuntimeExceptionThe loading of lazy AppConfig values have been triggered by app "dav"
19.09.2026, 14:57:40

Fehlersuche
no app in context

Exceptiondirty table reads: SELECT COUNT(*) FROM *PREFIX*ratelimit_entries WHERE hash = :dcValue1
19.09.2026, 14:57:40

Fehlersuche
dav

RuntimeExceptionThe loading of lazy AppConfig values have been triggered by app "dav"
19.09.2026, 14:57:36

Fehlersuche
related_resources

get related to files.891 - null
19.09.2026, 14:57:30

Fehlersuche
no app in context

Exceptiondirty table reads: SELECT filecache.fileid, storage, path, path_hash, filecache.parent, filecache.name, mimetype, mimepart, size, mtime, storage_mtime, encrypted, filecache.etag, filecache.permissions, checksum, unencrypted_size, metadata_etag, creation_time, upload_time, meta.json AS meta_json, meta.sync_token AS meta_sync_token FROM *PREFIX*filecache filecache LEFT JOIN *PREFIX*filecache_extended fe ON filecache.fileid = fe.fileid LEFT JOIN *PREFIX*files_metadata meta ON filecache.fileid = meta.file_id WHERE (path_hash = :dcValue1) AND (storage = :dcValue2)
19.09.2026, 14:57:30

Fehlersuche
no app in context

Exceptiondirty table reads: SELECT path FROM *PREFIX*filecache WHERE (storage = :dcValue1) AND (fileid = :dcValue2)
19.09.2026, 14:57:30

Fehlersuche
no app in context

Exceptiondirty table reads: SELECT filecache.fileid, storage, path, path_hash, filecache.parent, filecache.name, mimetype, mimepart, size, mtime, storage_mtime, encrypted, filecache.etag, filecache.permissions, checksum, unencrypted_size, metadata_etag, creation_time, upload_time, meta.json AS meta_json, meta.sync_token AS meta_sync_token FROM *PREFIX*filecache filecache LEFT JOIN *PREFIX*filecache_extended fe ON filecache.fileid = fe.fileid LEFT JOIN *PREFIX*files_metadata meta ON filecache.fileid = meta.file_id WHERE (filecache.parent = :dcValue1) AND (storage = :dcValue2)
19.09.2026, 14:57:30

Fehlersuche
no app in context

Exceptiondirty table reads: SELECT path FROM *PREFIX*filecache WHERE (storage = :dcValue1) AND (fileid = :dcValue2)
19.09.2026, 14:57:30

Fehlersuche
related_resources

retrieving related to item files.891
19.09.2026, 14:57:30

Fehlersuche
no app in context

OCA\RelatedResources\Controller\ApiController::getRelatedResources uses the @NoAdminRequired annotation and should use the #[OCP\AppFramework\Http\Attribute\NoAdminRequired] attribute instead
19.09.2026, 14:57:30

Fehlersuche
no app in context

OCA\RelatedResources\Controller\ApiController::getRelatedResources uses the @NoAdminRequired annotation and should use the #[OCP\AppFramework\Http\Attribute\NoAdminRequired] attribute instead
19.09.2026, 14:57:30

Information
no app in context

The app config key dav/sendInvitations is not defined in the config lexicon
19.09.2026, 14:57:27

Information
no app in context

The app config key dav/enableCalendarFederation is not defined in the config lexicon

The above suggests to me that you’re attempting doing to do an instance-to-instance (Federated) share.

Please use the support template you overlooked, and provide the precise step by step process you’re using the attempt the share.

i am entered it here, above is the field for a federated ?

I configured at least 3 different mailboxes on 3 different providers (and tested the boxes with for example thunderbird etc.). Only the one from the hoster works.

If you share by e-mail, Nextcloud will also ask you, if you want to send an e-mail with the link or if the e-mail address is a user on another server:

When you select “demo on server.example” and not “demo@server.example”, then Nextcloud will not send an e-mail but will try to contact the Nextcloud instance running on server.example to create a federated share.

So maybe you just selected the wrong option after typing the e-mail address? If you want to create a share link and get that send it via e-mail, you must always use the first version in the list with the e-mail address.

i get only “demo on server.example” presented. I get never “demo@server.example”. tried serveral mailadresses..

In this case I would ask the hoster who manages the Nextcloud server.

Share by mail App was deactivated in default rollout from hoster. After activating everything works.

See also: Can't send share link by e-mail anymore on 28.0.3