Skip to content

New-DbaDbMailAccount, Set-DbaDbMailAccount - Add Port, SSL, and authentication parameters#10257

Draft
andreasjordan wants to merge 1 commit intodevelopmentfrom
claude/issue-9139-20260317-0856
Draft

New-DbaDbMailAccount, Set-DbaDbMailAccount - Add Port, SSL, and authentication parameters#10257
andreasjordan wants to merge 1 commit intodevelopmentfrom
claude/issue-9139-20260317-0856

Conversation

@andreasjordan
Copy link
Collaborator

Adds Port, EnableSSL, UseDefaultCredentials, UserName, and Password parameters to New-DbaDbMailAccount and introduces a new Set-DbaDbMailAccount command for modifying existing Database Mail accounts.

This enables support for cloud email providers (Office 365, Gmail) and Windows-authenticated domain mail relays.

Closes #9139

Generated with Claude Code

…ntication parameters

- Enhanced New-DbaDbMailAccount with Port, EnableSSL, UseDefaultCredentials,
  UserName, and Password parameters for SMTP server configuration
- Created Set-DbaDbMailAccount for modifying existing mail accounts and
  their mail server settings (port, SSL, auth, server rename)
- Updated New-DbaDbMailAccount parameter validation tests
- Created integration and unit tests for Set-DbaDbMailAccount
- Registered Set-DbaDbMailAccount in dbatools.psd1 and dbatools.psm1

Closes #9139

(do *MailAccount*)

Co-authored-by: Andreas Jordan <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Ability to specify Port, Require SSL and SMTP Authentication Type for New-DbaDbMailAccount

1 participant