Quantcast
Channel: Windows PowerShell forum
Viewing all articles
Browse latest Browse all 21975

Sending Individual Attachments to a List of Email Addresses In CSV using power shell or batch command

$
0
0
Hello geeks,

From a application daily reports are created for each customer in a directory. I need to send email to the customer with the pdf report as an attachment as per schedule in the evening 6PM.

I have an CSV file with the following information,

Customer_number, Email_ID, Attachment_Name
CUST_001, CUST@abc.com, D:\Reports\CUST_001_12152016.pdf

I am trying to using SMTP server 10.0.1.1:2670

Could someone please provide some help?

Thanks in advance

Siva

Viewing all articles
Browse latest Browse all 21975

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>