Using mail Logger with Microsoft outlook 2016

Experiences, small talk, and other automation gossip.
jimmyfinnerty
Posts: 8
Joined: Tue Dec 22, 2015 11:17 am

Using mail Logger with Microsoft outlook 2016

Post by jimmyfinnerty » Fri May 13, 2016 10:49 am

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

jimmyfinnerty
Posts: 8
Joined: Tue Dec 22, 2015 11:17 am

Re: Using mail Logger with Microsoft outlook 2016

Post by jimmyfinnerty » Tue May 17, 2016 12:16 pm

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.
You do not have the required permissions to view the files attached to this post.

User avatar
RobinHood42
Posts: 324
Joined: Fri Jan 09, 2015 3:24 pm

Re: Using mail Logger with Microsoft outlook 2016

Post by RobinHood42 » Tue May 17, 2016 12:29 pm

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