# AWS SES API strange test and save behavior

**URL:** <https://forum.mautic.org/t/aws-ses-api-strange-test-and-save-behavior/27355>\
**Category:** Product Support\
**Tags:** mautic-4\
**Created:** [March 15, 2023, 4:29pm UTC](https://forum.mautic.org/t/aws-ses-api-strange-test-and-save-behavior/27355 "2023-03-15T16:29:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ascholten](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ascholten/32/691_2.png) [@ascholten](https://forum.mautic.org/u/ascholten)\
**Post date:** [March 15, 2023, 4:29pm UTC](https://forum.mautic.org/t/aws-ses-api-strange-test-and-save-behavior/27355/1 "2023-03-15T16:29:16Z")

</div>

**Your software**  
My Mautic version is: 4.4.5  
My PHP version is: php74  
My Database type and version is: 10.4.27-MariaDB

**Your problem**  
My problem is:  
Go to |config|email settings|Mail Send Settings:

Service to send mail through: Amazon SES-API  
Username for the selected mail service: **Enter the AWS SES Access key ID** (e.g. AKIA\*\*\*)  
Password for the selected mail service : Enter the Secret access key  
Click test connection: result is **success**  
**Now click save:**  
result:the field “Username for the selected mail service” is replaced by the AWS SES Username (ses-smtp-user.xxx-xxx) and the password is geplaced  
Expected behavior: The filled out user is shown and not replaced and password is not replaced. Why  
**click test connection again**  
**result: error about creditials**

In other cases when opening the screen for the first time a different user is shown (my name).

This situation makes it hard to find causes of emails not being send.

Possible causes I can think of:  
The old SES SMTP option has user and password stored and is in the way. Could not find that in local.php though.  
The monitored Inbox settings is currently not working since MS stopped IMAP support  
Testen in Chrome

These errors are showing in the log:

Steps I have tried to fix the problem:
