I am using following code to send email. The Code works correctly in my local Machine. But on Production server i am getting the error message
var fromAddres
dont put break-point before await smtp.SendMailAsync(mail);
:)
when it waits with a break point giving this error when i remove break point it has worked