4

[Template] Send SMTP email with Visual Basic Script (vbs) from Command Prompt using CDO

view full story
linux-howto

http://www.unix.com – This is a script in visual basic that basically sends an email from an existing account, in this case the example is provided for live.com. It uses CDO (Collaboration Data Objects). All you need to do is replace the fields with the proper information. The email is send from Command Prompt with either Code: script smtp_cdo.vbs wscript smtp_cdo.vbs Code: option explicit     Dim objMail            Set objMail = CreateObject("CDO.Message")            'sender email address      objMail.F (HowTos)