Posts: 226
Threads: 27
Joined: Apr 2012
Hi Dean, recently was experimenting with sending emails from certain triggered actions, and got reminded that the email accounts CQC uses require an username and password to do a fully authenticated email submission. Plain SMTP seems not to be available.
Is this something intentional?
Posts: 40,483
Threads: 491
Joined: Aug 2002
Does it let you leave the username/password empty? I thought it would look for those and not try to do a login if not present, but it may be that the UI is forcing you to enter them anyway.
Dean Roddey
Explorans limites defectum
Posts: 226
Threads: 27
Joined: Apr 2012
The admin interface UI does not allow to keep username and password empty. Once entered, will try authentication even if the mailserver does not request it, and in such case sending will fail on port 25.
Posts: 40,483
Threads: 491
Joined: Aug 2002
Let me see if the underlying code deals with no username/pw. I think it does. If so, I'll update the UI to allow them to be blank. Else I'll have to do some work under the hood.
Dean Roddey
Explorans limites defectum
Posts: 226
Threads: 27
Joined: Apr 2012
(10-23-2019, 04:55 AM)Dean Roddey Wrote: Let me see if the underlying code deals with no username/pw. I think it does. If so, I'll update the UI to allow them to be blank. Else I'll have to do some work under the hood.
Dean, did you ever got to this? I am on the latest beta and still cannot use/create an account without specifying username/password
Posts: 40,483
Threads: 491
Joined: Aug 2002
No, I haven't had time to deal with that yet.
Dean Roddey
Explorans limites defectum
Posts: 226
Threads: 27
Joined: Apr 2012
(12-07-2019, 02:28 PM)Dean Roddey Wrote: No, I haven't had time to deal with that yet.
Dean, did you figure out if only the UI require the password to be set or the underlying code?
Posts: 40,483
Threads: 491
Joined: Aug 2002
It would take a good bit of changes to do that. If you have a workaround, I'd rather leave it for now.
Dean Roddey
Explorans limites defectum
Posts: 226
Threads: 27
Joined: Apr 2012
(04-09-2020, 03:18 PM)Dean Roddey Wrote: It would take a good bit of changes to do that. If you have a workaround, I'd rather leave it for now.
So does that mean that your underlying code requires an account, and not just the admin UI?
I would not expect that you rewrite that, but chances are that you implemented the SMTP standard which allows for simple mail without authentication.
Only the admin UI create user window username/password fields which require an input, and thus one cannot create a user without this account information.
Posts: 40,483
Threads: 491
Joined: Aug 2002
Well, I was assuming that just the absence of the values shouldn't be assumed to be intentional and that a check box indicating whether authentication is really needed or not should be used, which means changing the user account storage to handle that.
Dean Roddey
Explorans limites defectum