
I have tried the follwing script.
Let>SENDMAIL_STATUS=1
Let>subject=Test server failure
Let>me=[email protected]
Let>myname=Test Server
Let>recipients=[email protected]
Let>body=End of communications channel on test server
Let>mailserver=xxx
Let>CheckText=**Error
FindWindowWithText>CheckText,0,windowname,0
if>windowname=NOT FOUND,ENDLABEL
SMTPSendMail>recipients,mailserver,me,myname,subject,body,
Message>Result of SendMail: %SMTP_RESULT%
LABEL>ENDLABEL
No window is found with the "**Error" message, even though one was displaying the details.
I tried the same on PC with **Error typed into a word document and again this is not found, Does the Findwindowwithtext function work?