salesagility / SuiteCRM

SuiteCRM - Open source CRM for the world
https://www.suitecrm.com
GNU Affero General Public License v3.0
4.44k stars 2.07k forks source link

Email settings wizard overwrites user inputs when configuring personal SMTP server #7693

Open timo12357 opened 5 years ago

timo12357 commented 5 years ago

When configuring user personal outgoing SMTP server settings the user settings are overwritten with system default settings when wizard is closed.

Issue

Configuring SuiteCRM personal email servers is a frustrating task that requires a very special type level of a stubborn user to succeed with. SMTP settings and especially hidden passwords are overwritten by SuiteCRM with system SMTP settings. This goes easily unnoticed as there is no warning and the only feedback user gets is that sending email does not work. Most likely normal, sane people give up trying to configure and use SuiteCRM email because of this bug.

Expected Behavior

User can set outgoing email server settings and they stay the same after exiting the email settings wizard.

Actual Behavior

User sets email settings and closes wizard. Outgoing SMTP server settings are not stored, but replaced with system settings.

Workaround

Redo SMTP settings after saving the settings, and pay attention.

Steps to Reproduce

  1. Profile -> Settings (at the bottom of the page) -> Mail Accounts.
  2. Outgoing SMTP servers -> Add
  3. Configure SMTP server
  4. Save
  5. Try to send email

Context

Happens when configuring email for my users. I suspect this bug is a key reason to all the complaints about the unusability of SuiteCRM email?

Your Environment

Dillon-Brown commented 5 years ago

Hi @timo12357, I'm not able to replicate this. To confirm, have you got a personal inbound email also set-up for this user? you won't be able to use outbound without it.

timo12357 commented 5 years ago

Hi @Dillon-Brown, yes the user has inbound email configured and working. I made two users to the SuiteCRM install and sent quite a few emails back and forth before submitting this issue. When you configure the right SMTP server it can be saved and it works. If you do the mistake of reopening the settings wizard for the outgoing server you can see the right settings for a fraction of a second and then they are replaced with the system defaults. It looks like some kind of automatic form fill in would be active. I just cleared my forms history from Firefox, and it still behaves like this.