Find Jobs
Hire Freelancers

PowerShell script to email documents

$10-30 USD

Completed
Posted over 2 years ago

$10-30 USD

Paid on delivery
I would like a PowerShell script that recurses a directory tree and emails any file with a modification date past a specified date/time. The top level directory has encoded in the folder name the email address of the user in the form of "[email @ [login to view URL]]". The script should process each top level folder in the specified base directory that is in a format of "Mike Smith [1099][email address]". Underneath the top level folder is a set of subdirectories typically organized by year and then in each folder is a set of Excel or other document files. The script should select all files modified after the specified date and attach them to an email. The email address is derived from the top level folder name. The body text of the email message should come from a specified file supporting HTML formatting. The PowerShell script command line arguments □ -base - Path to root directory □ -cutoff - Cutoff date for last modification date to send any documents newer in the format of ISO 8601 yyyy-MM-dd HH:mm:ss □ -body - Path to text file that contains the body of the email message □ -from - From email address □ -subject - Text of email subject The script should have a configuration variable for the SMTP server name, usssl, and SMTP port.
Project ID: 31409905

About the project

4 proposals
Remote project
Active 3 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
$0 USD in 2 days
0.0 (0 reviews)
0.0
0.0
4 freelancers are bidding on average $200 USD for this job
User Avatar
Hey there, I had developed tons of PowerShell scripts. I went through your project description. I can develop the script for you. Regards!
$400 USD in 7 days
5.0 (10 reviews)
4.5
4.5
User Avatar
Hi, I've done similar jobs in the past, my only concern would be on the size of the attachments as some mail servers have a maximum size in order to save some space. Other then that, I don't see any particular problem with your request. It would be helpful to have an example or a screenshot to see a folder name and structure. Feel free to contact me to chat about the project or to set up a call any time you want.
$100 USD in 7 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
Santa Rosa, United States
5.0
11
Payment method verified
Member since Mar 8, 2019

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.