Ask a Question

Automatic Email reports brake

SOLVED
romanmfs
Frequent Contributor

Automatic Email reports brake

Hi all!

 

I have a script running to send out automatic emails and it has been working just fine for a long time.

I run same test cases on my computer and on a remote server. 

 

For some reason, all of a sudden it stopped working on the server (error I get attached).

Same script works just fine on my machine. 

 

Here is the script:

 

function Test()
{
if (SendMail("rmarchuk@venturetechsolutions.com", "relay.ventureresource.local", "Roman Marchuk", "rmarchuk@venturetechsolutions.com",
"Regression MCF CA, Lighthouse and NFDM QA (All Groups)", " MCF Report attached. \n Groups tested: \n Canada: 1, 2, 3, 4 for both CCCS CA and Debt.com \n Lighthouse: 1, 2, 3, 4 (Debt.com & Lighthouse) \n NFDM: 1 and 2 \n \n Thank You!", "V:\\TestComplete\\Reports\\Report_MCF_2.mht"))
Log.Message("Mail was sent");
else
Log.Warning("Mail was not sent");
}

 

 

 

What can be wrong?

See attachment.

7 REPLIES 7
Marsha_R
Community Hero

The error says "service not available" 

 

so perhaps some permissions or a firewall got changed and the server can't access the email any more?


Marsha_R
[Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
romanmfs
Frequent Contributor

OK, thank you, I am checking with IT now

romanmfs
Frequent Contributor

I checked with IT and according to them recently there were no changes to permissions ( I am an admin on the server) or any new firewall changes.

 

I recently changed my windows logon password, does that have anything to do with this?...

Okay, here's something else to try from a previous thread

 

https://community.smartbear.com/t5/TestComplete-Desktop-Testing/4-3-2-Service-not-available/td-p/132...


Marsha_R
[Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
romanmfs
Frequent Contributor

I see, but if there was something wrong with an exchange server, shouldnt it not work on my computer as well? Its on;ly not working from server... 😞

romanmfs
Frequent Contributor

Hey, I figured it out, for some reason that server had multiple IP addresses and that was messing it up...

rajabe9209
Occasional Contributor

Hi 

 

Did you Tried adding Summary Of passed and Failed Cases 

if Yes please let me know how you did that

cancel
Showing results for 
Search instead for 
Did you mean: