Skip to content
Advertisement

Powershell mail every user from SQL query

Unfortunately, I could not find my answer from all the examples I came across.

I have a SQL query that contains the following values First name Suffix Last Name Email address

Now I want to send a mail per record and in the mail mention the name.

Below is the code that doesn’t do the loop right now and puts the name in the mail.

Advertisement

Answer

User contributions licensed under: CC BY-SA
7 People found this is helpful
Advertisement