Skip to content
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

Add back authentication checkbox for mailer settings #36785

Merged
merged 1 commit into from
Mar 1, 2023

Conversation

miaulalala
Copy link
Contributor

@miaulalala miaulalala commented Feb 20, 2023

Summary

The symfony mailer refactor removed the authentication checkbox and caused the save for the authentication data to be buggy.

TODO

  • Check if Symfony supports authenticationless sending in the first place (tested by Julius)

Checklist

@miaulalala miaulalala requested review from nickvergessen, come-nc and a team February 20, 2023 17:08
@miaulalala miaulalala self-assigned this Feb 20, 2023
@miaulalala miaulalala added this to the Nextcloud 26 milestone Feb 20, 2023
@miaulalala miaulalala requested review from a team, ArtificialOwl and icewind1991 and removed request for a team February 20, 2023 17:24
@szaimen

This comment was marked as resolved.

@miaulalala

This comment was marked as resolved.

@szaimen

This comment was marked as resolved.

@miaulalala miaulalala force-pushed the bug/bring-back-auth-checkbox branch from 96bba83 to 1d05efc Compare February 21, 2023 11:07
@szaimen
Copy link
Contributor

szaimen commented Feb 21, 2023

smtphost seems to be doubled for me now?
image

@miaulalala miaulalala force-pushed the bug/bring-back-auth-checkbox branch from 1d05efc to 214b910 Compare February 21, 2023 13:33
@miaulalala
Copy link
Contributor Author

@szaimen should be good now, apologies!

Signed-off-by: Anna Larch <anna@nextcloud.com>
@miaulalala miaulalala force-pushed the bug/bring-back-auth-checkbox branch from 214b910 to f0ffa91 Compare February 22, 2023 08:47
Copy link
Contributor

@szaimen szaimen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works in my testing (did test with ssl on port 465 and authentication enabled) but didnt review the code.

@skjnldsv skjnldsv mentioned this pull request Feb 23, 2023
Copy link
Member

@mejo- mejo- left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code looks good to me 👍

@blizzz blizzz merged commit 86c102e into master Mar 1, 2023
@blizzz blizzz deleted the bug/bring-back-auth-checkbox branch March 1, 2023 20:35
@blizzz blizzz mentioned this pull request Mar 2, 2023
<select name="mail_smtpauthtype" id="mail_smtpauthtype" disabled="disabled">
<?php foreach ($mail_smtpauthtype as $authtype => $name):
$selected = '';
if ($authtype == $_['mail_smtpauthtype']):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[PHP] Undefined array key "mail_smtpauthtype" at /var/www/cloud.nextcloud.com/nextcloud/apps/settings/templates/settings/admin/additional-mail.php#132 https://nextcloud-gmbh.sentry.io/issues/3973302224

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: mail_smptauth option is not set when changing mailer config options in admin settings
6 participants