I have a solo system that is for Ranorex and it runs our test while I do other work on my machine. So far I have it execute several solutions back to back which can take anywhere between 30 min to several hours.

Is there any way to have Ranorex send me an email after each solution where the subject line will name the solution and then tell me if it passed or failed. Or even just tell me that that the solution (or whole battery of tests) has completed? I would need to send through an SMTP that requires authentication but im not sure how to go about any of this.

Is it even possible to have email's sent upon completion let alone making a subject line dependent on the outcome of a test?

Of course it is possible to customize your Report. Many of our customers use its own Reports. Please take a look to following blog for your issue. In this blog will be explained "How to customize your Report and send it via mail". http://www.ranorex.com/blog/customizing-ranorex-reports

Peter,
I ran across that tutorial after I posted this. Thing is, I'm still learning C# as I go and the tutorials written, although concise, do not help with telling me where each snippet is supposed to go.

For example I'm told to "right click on IReportLogger and select “MailLogger -> Implement Interface (implicit) -> IReportLogger” and Ranorex Studio will create stubs for the interface methods for you." But I cannot find the IReportLogger in the Studio and nothing comes up for IReport on the Ranorex website.

Are there anymore detailed steps as to what needs to go into what files at least?

Please take a look at the sample project how we implemented the Custom Logger. Please click following link (link is also available in the blog):http://www.ranorex.com/blog/wp-content/ ... ogging.zip
Save the zip file to your hard drive and extract it. Then please open the Ranorex Solution Project and take a look at the implementation.

If you have any ideas please share, but it might be the way we smtp setup. I needed to use a specific email address (configured for smtp) and give email a password. So if you have no ideas, no worries.

I created a solution for you where you can see how you can send the zipped report as attachment and how you can send a summary of the test run in the email body.
The Recording1 executes some actions on the Windows Calculator which should also run on your machine.
You have to edit the following files:
Program.cs: Enter the email address where you want to send the email from and where you want to send the email to and you have to specify which messages should be logged to the email body, for instance:

MailLogger.ReportLevelMail = ReportLevel.Success;

MailLogger: You have to change the network credentials in the PrepareAndSendMail method.

The Recording2 also checks in the CheckState method if the current test case failed.
I hope this will help you solve the issue!

Thanks, Markus. I used your sample code (modified the test case to use one of mine), and it did send an email with test results, and also attached the report to the email.
One question: in my test case, I need to run multiple iterations (to cover different test sites). Currently, when one iteration failed, the whole execution stopped. (I saw some console messages saying closing down logger, etc.. Is there a way to continue to finish all iterations regardless some of them failed? My test case error behavior is set to continue with siblings when an iteration fails, but that did not seem to help.

Also, could you point me to the APIs of report contents? For example, if I want to print out the test site's URL (targetUrl?), where do I get it?

Thanks, Marcus, that (continue with iterations) worked.
One more question: I tried to implement your emailing code to a new project by porting MailLogger.cs and part of Program.cs (the code that calls MailLogger methods) to the new project. The email part seemed to work fine, but the zipped report was not generated. How is the zipped report file (.rxzlog) got generated? Or where is the code that compress the report file into a zipped file? What did I miss to create a compressed report file before it could be attached to email to be sent?

Thanks a lot, Markus. That simple checking of Compressed Copy does the trick (I was about to copy my original project over and then add all the test cases to it. So glad to know that one click in the Compressed Copy check box saved all that replication work!)
Now here is a new problem (always one thing leads to another, right?): some receivers of my compressed copy of reports through email could not open the report, since they had not installed Ranorex on their machines. What can they do to be able to open the compressed report without installing Ranorex?