Sending emails with attachments from CSV using PowerShell

added by lukus7
6/4/2010 8:58:47 PM

84 Views

I talk you through and provide for download a powershell script I wrote recently that parses a csv file containing names, email addresses and a path to an attachment. It uses the system.net.mail namespace to create and send a customised email with attachment to each record parsed from the csv file. The script also logs the successfully sent emails.


0 comments