Skip to content
This repository has been archived by the owner on Jun 18, 2024. It is now read-only.

EWS Send() is not responding #760

Open
ravi-garagaparti opened this issue Oct 3, 2022 · 0 comments
Open

EWS Send() is not responding #760

ravi-garagaparti opened this issue Oct 3, 2022 · 0 comments

Comments

@ravi-garagaparti
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant