I need to send a mail from rational robot once the execution is done.
Can any one help me out.
google vbSendMail - you can get the dll then it's a simple matter of including the appropriate code in the script..
It's life Jim, but not as we know it
U also can record a sub to use Outlook or other E-mail application to send E-mail to you to tell you that the execution is done.
I've seen some scripts to use this method.
Ask and learn.
Can u please share the code for sending emails from robot.
I have tried many times but always its failing.
will b very helpful if u passon the code. thanks
Use this code to send mail from Robot
dim oOutlook as object
Dim oEmailMsg as object
dim oAttachments as object
Dim vMsgCaption as variant
set oOutlook = createobject("outlook.application")
set oEmailMsg = oOutlook.CreateItem(0)
set oAttachments = oEmailMsg.Attachments
oEmailMsg.subject = "Mail from Rational Robot"
oEmailMsg.Body = "Email Body"
set oAttachments = nothing
set oEmailMsg = nothing
set oOutlook = nothing
I tried to run this code, but it requires manual intervention.
The messages pops up are -
1. A program is trying to access email addresses you have stored in outlook. Do you want to allow this? If this is unexpected, it may be a virus and you should choose 'No'
another message pop up is -
2. A program is trying to automatically send email on your behalf. Do you want to allow this? If this is unexpected, it may be a virus and you should choose 'No'
How can I get rid of this messages? ( I am not able to click on these messages automatically)
Here is a thread that should help...
Post back if you need help with the Perl.
2. Web/HTTP (HTML mode)
7. Web 5800
Remote Access 1000
9. Windows Server 2003 SP1
What Everyone Should Read Before Asking For Help on the Internet
Have a look into this
Outlook 2003's security model will hit you with a pop-up if you attempt this code. It would only work on older installations.
Ya Jason, it seems like that. I am using outlook 2002.