cancel
Showing results for 
Search instead for 
Did you mean: 

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.

1 ACCEPTED SOLUTION

Accepted Solutions
romanmfs
Frequent Contributor

Re: Automatic Email reports brake

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

View solution in original post

7 REPLIES 7
Marsha_R
Community Hero

Re: Automatic Email reports brake

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?

romanmfs
Frequent Contributor

Re: Automatic Email reports brake

OK, thank you, I am checking with IT now

romanmfs
Frequent Contributor

Re: Automatic Email reports brake

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?...

Marsha_R
Community Hero

Re: Automatic Email reports brake

romanmfs
Frequent Contributor

Re: Automatic Email reports brake

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

Re: Automatic Email reports brake

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

View solution in original post

rajabe9209
Occasional Contributor

Re: Automatic Email reports brake

Hi 

 

Did you Tried adding Summary Of passed and Failed Cases 

if Yes please let me know how you did that

New Here?
Join us and watch the welcome video:
Announcements
Top Kudoed Authors