none
Sending password reminder email via SMTP RRS feed

Answers

  • You copied script is very old.  It uses the old pre-PS 2 Net calls.

    I suggest using "Send-MailMessage". as it will give you a better test method.

    Timeouts on SMTP servers are not client related.  It can be network related or server related.  Troubleshooting that is beyond the scope of this forum.

    If you are on a public network then port 25 will not work. Use port 587. If a corporate network then SMTP is likely blocked by you admins for security reasons. Contact the Admins to learn if SMTP mail is available.


    \_(ツ)_/

    • Marked as answer by JMiller123 Tuesday, November 20, 2018 8:03 PM
    Tuesday, November 20, 2018 3:52 PM

All replies

  • We do not fix or customize scripts found on the internet. You should aks the author for help with it. To send emails Powershell has a cmdlet Send-MailMessage - use this.

    Live long and prosper!

    (79,108,97,102|%{[char]$_})-join''

    Tuesday, November 20, 2018 3:45 PM
  • You copied script is very old.  It uses the old pre-PS 2 Net calls.

    I suggest using "Send-MailMessage". as it will give you a better test method.

    Timeouts on SMTP servers are not client related.  It can be network related or server related.  Troubleshooting that is beyond the scope of this forum.

    If you are on a public network then port 25 will not work. Use port 587. If a corporate network then SMTP is likely blocked by you admins for security reasons. Contact the Admins to learn if SMTP mail is available.


    \_(ツ)_/

    • Marked as answer by JMiller123 Tuesday, November 20, 2018 8:03 PM
    Tuesday, November 20, 2018 3:52 PM