Sending Test Reports through Email issue

Ask general questions here.
Posts: 3
Joined: Wed Jun 15, 2016 8:03 am

Sending Test Reports through Email issue

Post by Dinesh27 » Thu Jun 30, 2016 1:45 pm

Recently I was working with mail logic. And I have no clue what values should I pass in Server Port and Server Host Name variable.

Email Configuration settings I require: outlook mail

Server port..No clue some use 25,some 465.. :? I get an error

Please do help me here with mail logic to send my test report from [email protected] to [email protected]. I don't want to refer to other topic, please do reply here..All the mail topics posted in forum was tricky for me to understand..

Thanks & Regards,
smtp.Send(mail); when I try to debug this line..i find this issue..
mail-error.png (242.33 KiB) Viewed 854 times

Posts: 152
Joined: Fri Aug 15, 2014 12:24 pm

Re: Sending Test Reports through Email issue

Post by Martin » Thu Jun 30, 2016 1:53 pm

Please add the code for the sending as well.

You might be missing Username + password. Firewall might be blocking it etc.

Also the exception shows that the targeted port is 4723 not 25 or 465 as you said.