falla_el_complemento_de_mmc_para_smtp_server_en_windows_2022
  1. Stop the Simple Mail Transfer Protocol (SMTP) service.
  2. Stop the IIS Admin Service service.
  3. Edit (privileged session) C:\Windows\System32\inetsrv\MetaBase.xml.
  4. Under
    <IIsSmtpServer Location ="/LM/SmtpSvc/1"

    , set (alphabetically) RelayIpList=“” and save the file.

  5. Start the Simple Mail Transfer Protocol (SMTP) service
  1. Important: Now, run IIS 6.0 Manager, right-click [SMTP Virtual Server #1], click Properties, open the Access tab, click the Connection… button and click OK and then do the same with the Relay… button.
  1. Now click OK to close the [SMTP Virtual Server #1] window.

The preceding updates your MetaBase.xml file and causes SMTP to function correctly.

Script to quickly try the new SMTP server

$emailFrom = "[email protected]"
$subject = "test"
$emailTo = "[email protected]"
$body = "Test email sent from PowerShell"
$smtpServer = "smtp.mydomain.org.ar"
$smtpPort = 25
 
Send-MailMessage -From $emailFrom -To $emailTo -Subject $subject -BodyAsHtml -Body $body -SmtpServer $smtpServer -Port $smtpPort
falla_el_complemento_de_mmc_para_smtp_server_en_windows_2022.txt · Last modified: 2025/09/20 00:57 by oso