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

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
I think I can do this using Outlook.exe..... but if there is an easy tool out there let me know
Answered 11/02/2007 by: mhsl808
Fifth Degree Brown Belt

Please log in to comment
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.
Answered 11/02/2007 by: mhsl808
Fifth Degree Brown Belt

Please log in to comment
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.
Answered 11/02/2007 by: AngelD
Red Belt

Please log in to comment
0
Thanks. I found a tool called SendMail.exe and it is super easy and works like a charm !!
Answered 11/02/2007 by: mhsl808
Fifth Degree Brown Belt

Please log in to comment
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
Answered 11/03/2007 by: matrixtushar
Purple Belt

Please log in to comment
Answer this question or Comment on this question for clarity