Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Send E-Mail Using VBS

Status
Not open for further replies.

iambob

Programmer
Apr 13, 2021
41
US
I have the following code to send an Email in VBS through outlook.

Create.Obj(Email)
obj.Email
obj.Subject
obj.Body

Sincerely,
The Thunderbird
 
Is there a question here?

Is it "How do I use VBS to send an email via Outlook?" -seems to be, but let's make sure.

Your 'code' is just ... wrong ....
 
Hmm - to be clear, that's actually an example of using VBscript to send mail via SMTP (it just happens to be the Office 365 SMTP gateway that it is using)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top