falla_el_complemento_de_mmc_para_smtp_server_en_windows_2022
- Stop the Simple Mail Transfer Protocol (SMTP) service.
- Stop the IIS Admin Service service.
- Edit (privileged session) C:\Windows\System32\inetsrv\MetaBase.xml.
- Under
<IIsSmtpServer Location ="/LM/SmtpSvc/1"
, set (alphabetically)
RelayIpList=“”and save the file. - Start the Simple Mail Transfer Protocol (SMTP) service
- 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.
- 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
