You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Expose link share email template through APIs #29937
I suggest providing a new OCS Share API endpoint for that.
Note that only plain text messages are supported. Not sure if we should support HTML emails as it would require clients and web UI to provide basic formatting.
The email endpoint could potentially be abused to send non-share-related emails to anyone... I don't like this. We could force it to have at least the share id, but still...
No, this feature is not really about sending invitation emails.
It's about adding email recipients to an existing link share (see "grouped tickets" concept #29938). So the API endpoint would simply be the same like the one that allows you to add more recipients to the link share, with the option of specifying a personal note. The endpoint will then send an email.
When adding a recipient I'd expect the share id of the original share to be specified.
For "1. Public API endpoint to retrieve…" subject should be retrieved from oC server too. If I share a link with my mobile mail client, subject will be used. If I share a link with a messaging application, only the body will be used.
For #29935 I would also be happy with just "injecting" a note to the notification mail. Not 100% sure if users want to edit the whole template there or if oC should just provide an option to insert a personal note to an existing template (and templates can be edited elsewhere, e.g. templateeditor).
Activity
PVince81 commentedon Dec 20, 2017
Also not discussed so far: email subject ?
PVince81 commentedon Dec 20, 2017
The email endpoint could potentially be abused to send non-share-related emails to anyone... I don't like this. We could force it to have at least the share id, but still...
PVince81 commentedon Dec 20, 2017
No, this feature is not really about sending invitation emails.
It's about adding email recipients to an existing link share (see "grouped tickets" concept #29938). So the API endpoint would simply be the same like the one that allows you to add more recipients to the link share, with the option of specifying a personal note. The endpoint will then send an email.
When adding a recipient I'd expect the share id of the original share to be specified.
michaelstingl commentedon Dec 20, 2017
For "1. Public API endpoint to retrieve…" subject should be retrieved from oC server too. If I share a link with my mobile mail client, subject will be used. If I share a link with a messaging application, only the body will be used.
PVince81 commentedon Dec 21, 2017
@michaelstingl good point. Indeed mobile will use the local mail client, so the subject should be available too.
SamuAlfageme commentedon Dec 21, 2017
Could be used to solve owncloud/client#6196
SamuAlfageme commentedon Dec 21, 2017
Duplicates Hackweek's #29769 maybe?
pmaier1 commentedon Dec 21, 2017
For #29935 I would also be happy with just "injecting" a note to the notification mail. Not 100% sure if users want to edit the whole template there or if oC should just provide an option to insert a personal note to an existing template (and templates can be edited elsewhere, e.g. templateeditor).
PVince81 commentedon Mar 13, 2018
moving to planned
pmaier1 commentedon Mar 14, 2018
We don't need to make the full template editable but the API should be capable of injecting a personal note as in the WebUI #29696.
PVince81 commentedon Apr 24, 2018
moving to triage. personal note is implemented in 10.0.8