On Mar 3, 10:07 am, "Gabriel Genellina" <gagsl-...@yahoo.com.ar>
wrote:
> En Tue, 03 Mar 2009 12:19:22 -0200, <plsulliv...@gmail.com> escribió:
>
> > import os
> > os.system('cscript.exe /from:wrk-...@zzz.gov /to:plsulli...@zzz.gov'
> > "C:\\Program Files\\nasa\\nmail.vbs")
>
> > nmail.vbs works. I need to make it work from a python script. Thanks.
>
> ...and the problem is...?
>
> --
> Gabriel Genellina

It's not firing off the vbs script. Have I got the syntax correct?
Thanks.

My latest attempt:
vBS = "C:\\Program Files\\nasa\\nmail.vbs"
os.system('cscript /from:wrk-...@pittcountync.gov /
to:plsulli...@pittcountync.gov /sub:TEST /msg:hello ' + vBS)
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to