Quantcast
Channel: The Official Scripting Guys Forum! forum
Viewing all articles
Browse latest Browse all 15028

How to do I attach multiple files to a vbs email?

$
0
0

I have a vbs script that emails files.  Most of the time only a single file needs to be attached to the email and this works fine.  In some cases, multiple files need to be attached.  I attach the multiple files by objMail.AddAttachment File, change the value of File, and issue objMail.AddAttachment File command again.  This worked fine back in March.  When I ran it today I found that rather than appending the additional file, the email only contains the last file added.

Has the way AddAttachment works changed?  How do I add additional files without having the previously added one(s) bumped?


Viewing all articles
Browse latest Browse all 15028

Trending Articles



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