/build/static/layout/Breadcrumb_cap_w.png

Send e-mails in script

Hi, I have a script and at the end of it I need to send off an e-mail to a Dist List. This is to inform a group that the software installed.
We use Outlook at our company. Either within Office 2000, Office 2003 or Office 2007, we have all 3 versions in production.
What tool(s) would you use to send an email automatically? And this needs to work even if no one is logged into the machine. We will push this script out via SMS so the target machine may not have anyone logged in so it needs to access outlook.exe in the background.

Is this possible?

Any hints or help would be great!!

Thank you.

0 Comments   [ + ] Show comments

Answers (5)

Posted by: mhsl808 16 years ago
Fifth Degree Brown Belt
0
I think I can do this using Outlook.exe..... but if there is an easy tool out there let me know
Posted by: mhsl808 16 years ago
Fifth Degree Brown Belt
0
Ok, I typed too soon :-) Outlook.exe has a lot of options but each opens up an e-mail and there is no way to automate hitting the Send button. so my questions still stands..... how would you do this.

Thank you.
Posted by: AngelD 16 years ago
Red Belt
0
You may be able to use BLAT (www.blat.net) for this.

Automatically send email with blat
http://www.torgesta.com/mytrigger/using_blat.php

You can also find some BLAT examples at: www.clarksupport.com/Scripts.htm

Have in mind if you use a custom action in Deferred where the System account is executing the CA then it will not have access to the network. So it may depend on how you deploy the MSI.
Posted by: mhsl808 16 years ago
Fifth Degree Brown Belt
0
Thanks. I found a tool called SendMail.exe and it is super easy and works like a charm !!
Posted by: matrixtushar 16 years ago
Purple Belt
0
Hello,

You can also do this in the script itself. WSH has a class called CDO.Message class that allows us to send emails through WSH Scripts or VBScripts. However, for that you need to have an application account configured at the mail server end that does not require any authentication.

Since in the posts i can see that you have managed to find the sendmail.exe, probably i would not comment more than this. However, irrespective of the mail client installed on the computer, the VBScript uses the mail services directly and sends the mails, even if no mail client like Outlook etc. is installed on the computer.

For any further clarification, please feel free to revert back.

With Best Regards,
Tushar
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ