Avatar of Sheldonhal
Sheldonhal asked on

VBScript that will email a specified document

Hi guys,

I have been struggling with a script to create an email and attach a file, and then place the email in the Outlook outbox of the local user running that script.

So, what I need is as follows:


It must create an email, input the sender/s email address, subject line and body.
It must validate the email address (just simple character validation is necessary)
It must attach a specified file from a windows folder to the email
It must automatically put the email into the user's outbox. This must apply to any user who runs this script from their machine...it must use the local email profile available.

I kinda need it urgently...you know how demanding some clients can be...

Thanks !!!
VB ScriptOutlookVisual Basic Classic

Avatar of undefined
Last Comment

8/22/2022 - Mon
Patrick Matthews

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question

Thanks alot, just what I needed!
Your help has saved me hundreds of hours of internet surfing.