-
Notifications
You must be signed in to change notification settings - Fork 241
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Public sharing #1
Conversation
Can you add the steps to check? |
4ca6bbe
to
e7e5e33
Compare
Todos :
|
2c6b339
to
a06fb63
Compare
pr in server: nextcloud/server#1197 |
@tcitworld Can you take care of rebasing? :) |
How did you know ? I was doing it right now ! |
hehe 🙈 |
a06fb63
to
56dbb6a
Compare
56dbb6a
to
674af79
Compare
1 similar comment
674af79
to
856d761
Compare
nextcloud/server#1197 was merged, so let's get this in by end of the week :) |
It's the end of the week. ;-) Not sure if 856d761 works properly. |
|
|
||
$message = $this->mailer->createMessage(); | ||
$message->setSubject($subject); | ||
$message->setFrom([$sendFrom => 'ownCloud Notifier']); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🙈
} | ||
$this->mailer->send($message); | ||
|
||
return new JSONResponse([], Http::STATUS_OK); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the JSONResponse
call should be moved to sendEmailPublicLink
Right now we are only sending an html-body. Please also provide a plain text message. We should not force users to use html emails. |
Looking at the source code of OCA\Mail\Message, I suppose that you first have to use |
No description provided.