[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 84
  • Last Modified:

Send emails out of a folder automatically

Hi all,

Is there a way in which I can send PDFs out of a folder to specific customer automatically ? Which can go inside that folder, check the pdf names and then sends them to relevant customers ? We use Exchange 2010. If there is a way that can be done locally, let me know too.

Exchange User
Exchange User
2 Solutions
Davis McCarnOwnerCommented:
Here is how to do it using Windows built-in sendmail utility: http://www.makeuseof.com/tag/send-automated-emails-save-time-sendemail-windows-task-scheduler/
Veerappan SundaramSenior Technical ConsultantCommented:
You can use Windows Powershell to do this job:

PS C:\> Send-MailMessage -From "User01 <user01@example.com>" -To "User02 <user02@example.com>", "User03 <user03@example.com>" -Subject "Sending the Attachment" -Body "Forgot to send the attachment. Sending now." -Attachments "data.csv" -Priority High -dno onSuccess, onFailure -SmtpServer "smtp.fabrikam.com"

Reference: https://technet.microsoft.com/en-us/library/hh849925.aspx 

You can search in Microsoft TechNet Gallery for more readily available Powershell Scripts

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now