Windows 10: Error when running script for automated emails in Windows Server 2016

Discus and support Error when running script for automated emails in Windows Server 2016 in Windows 10 Software and Apps to solve the problem; This is on Windows Server 2016. Running on PowerShell version 5.1.14393.4583. It was working before. No changes were made to the script or the server.... Discussion in 'Windows 10 Software and Apps' started by LR_KIT, Dec 27, 2021.

  1. LR_KIT Win User

    Error when running script for automated emails in Windows Server 2016


    This is on Windows Server 2016. Running on PowerShell version 5.1.14393.4583. It was working before. No changes were made to the script or the server. Suddenly the script throws the following error message:Exception calling "Send" with "1" arguments: "Failure sending mail." At line:1 char:1 + $smtp.send$message + ~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: : [], MethodInvocationException + FullyQualifiedErrorId : SmtpException Exception calling "Send" with "1" arguments: "Failure sending mail." At line:1 char:1 + $smtp.send$message + ~~~~~~~~~~~~~~~~~~~~

    :)
     
    LR_KIT, Dec 27, 2021
    #1
Thema:

Error when running script for automated emails in Windows Server 2016

Loading...
  1. Error when running script for automated emails in Windows Server 2016 - Similar Threads - Error running script

  2. Script for either a .bat file, or a CMD shell or Power Shell script, to automate running a...

    in Windows 10 Network and Sharing
    Script for either a .bat file, or a CMD shell or Power Shell script, to automate running a...: Windows 10Hello Is it possible to write a script for either a .bat file, or a CMD shell or Power Shell script, to automate running a single small .exe Snap2HTML.exe over and over again while stating the program parameters. I wish to use a small program called Snap2html...
  3. Script for either a .bat file, or a CMD shell or Power Shell script, to automate running a...

    in Windows 10 Gaming
    Script for either a .bat file, or a CMD shell or Power Shell script, to automate running a...: Windows 10Hello Is it possible to write a script for either a .bat file, or a CMD shell or Power Shell script, to automate running a single small .exe Snap2HTML.exe over and over again while stating the program parameters. I wish to use a small program called Snap2html...
  4. Script for either a .bat file, or a CMD shell or Power Shell script, to automate running a...

    in Windows 10 Software and Apps
    Script for either a .bat file, or a CMD shell or Power Shell script, to automate running a...: Windows 10Hello Is it possible to write a script for either a .bat file, or a CMD shell or Power Shell script, to automate running a single small .exe Snap2HTML.exe over and over again while stating the program parameters. I wish to use a small program called Snap2html...
  5. Window server 2016 activation error

    in Windows 10 Gaming
    Window server 2016 activation error: My window server 2016 License is expired. I have genuine key to activate my window server, but I am unable to activate my window. shows error" this edition cannot be upgraded". Please give me solution ASAP....
  6. Window server 2016 activation error

    in Windows 10 Software and Apps
    Window server 2016 activation error: My window server 2016 License is expired. I have genuine key to activate my window server, but I am unable to activate my window. shows error" this edition cannot be upgraded". Please give me solution ASAP....
  7. Error when running script for automated emails in Windows Server 2016

    in Windows 10 Gaming
    Error when running script for automated emails in Windows Server 2016: This is on Windows Server 2016. Running on PowerShell version 5.1.14393.4583. It was working before. No changes were made to the script or the server. Suddenly the script throws the following error message:Exception calling "Send" with "1" arguments: "Failure sending mail."...
  8. Correct way to run scripts in automated, unattended Windows installation

    in Windows 10 Installation and Upgrade
    Correct way to run scripts in automated, unattended Windows installation: I have some custom scripts that I have written to customise Windows 10 such as removing bloatware and setting file explorer options via Registry Editor that I use to apply to all users and/or the system. I have created a `autounattend.xml` Answer File with some simple...
  9. Automation Ideas and PowerShell Scripts

    in Windows 10 Customization
    Automation Ideas and PowerShell Scripts: I want few automation ideas related to DFS and Active Directory Certificate Services. Please provide few automation ideas and how they can be done using PowerShell scripts. Thank you....
  10. WIndow server 2016 error

    in Windows 10 BSOD Crashes and Debugging
    WIndow server 2016 error: Dear Microsoft Team, We finded the problem on our server, the error is: The application-specific permission settings do not grant Local Activation permission for the COM Server application with CLSID {D63B10C5-BB46-4990-A94F-E40B9D520160} and APPID...