Page 1 of 1

Using mail Logger with Microsoft outlook 2016

Posted: Fri May 13, 2016 10:49 am
by jimmyfinnerty
Hi all,

I am trying to set up the mailLogger to send an email of the ranorex report etc to another email. I have looked at examples here on the forums and the blog post.
I am wondering what settings I have to change from the code given for it to work with Microsoft outlook 2016.
By settings I mean do I have to change the Host, port and smtp client and if so to what?

Regards
James

Re: Using mail Logger with Microsoft outlook 2016

Posted: Tue May 17, 2016 12:16 pm
by jimmyfinnerty
Hi all,
I have been working on my problem of sending an email from my project.
I had been trying to send from outlook but I have now moved to try to send from a gmail address.
At present I am getting an error

System.Net.Mail.SmtpException: Server does not support secure connections.

I have followed lots of discussions on stack overflow about the smtp mail sending and tried various things.
This error is just the latest in a line of similar errors.

I have attached the program cs code and the 3 places in the mailLogger code where I have made changes in terms of host, port etc.

Any help would be appreciated.

Re: Using mail Logger with Microsoft outlook 2016

Posted: Tue May 17, 2016 12:29 pm
by RobinHood42
Hi James,

There is already a discussion in this forum about sending the report via email.
Additionally, did you already search in google for the error message you get?
I found a possible solution here: http://stackoverflow.com/questions/9319 ... connection

Cheers,
Robin