Open ravi-garagaparti opened 2 years ago
We are using EWS API and observed that send() (https://learn.microsoft.com/en-us/dotnet/api/microsoft.exchange.webservices.data.emailmessage.send?view=exchange-ews-api) is not responding and rest of the code is blocking when it called. Code is working fine when we commented this. Not sure what was the issue and couldnt find proper solution for this. Please someone help on below points.
try{ LOGGER.info("Before sending mail"); emailMsg.send(); LOGGER.info("After sent mail"); } catch (Exception e) { LOGGER.error("Exception while sending email in sendEmail method {}",e); e.printStackTrace(); }
How to track this in Debug mode? How can we confirm whether send() is working or not?
Regards, Ravi G
We are using EWS API and observed that send() (https://learn.microsoft.com/en-us/dotnet/api/microsoft.exchange.webservices.data.emailmessage.send?view=exchange-ews-api) is not responding and rest of the code is blocking when it called. Code is working fine when we commented this. Not sure what was the issue and couldnt find proper solution for this. Please someone help on below points.
try{ LOGGER.info("Before sending mail"); emailMsg.send(); LOGGER.info("After sent mail"); } catch (Exception e) { LOGGER.error("Exception while sending email in sendEmail method {}",e); e.printStackTrace(); }
How to track this in Debug mode? How can we confirm whether send() is working or not?
Regards, Ravi G