You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using the ews-javascript-api library to send and receive emails through EWS in a Node.js project. I have two service instances, one for sending and another for receiving, using different email accounts.
I expect each service to maintain its own authentication configurations and not interfere with each other. However, occasionally, the send service uses the credentials of the receive account.
// Code for the send service
ews_send.ConfigurationApi.ConfigureXHR(
new ews_send.ntlmAuthXhrApi(
this.configService.get('EMAIL_USER_REPLY'),
this.configService.get('EMAIL_PASSWORD_REPLY')
)
);
// Code for the receive service
ews_receive.ConfigurationApi.ConfigureXHR(
new ews_receive.ntlmAuthXhrApi(
this.configService.get('EMAIL_USER_RECEIVES'),
this.configService.get('EMAIL_PASSWORD_RECEIVES')
)
);
Steps to Reproduce the Issue:
Set up two different email accounts for sending and receiving.
Call ConfigureXHR for the send service.
Call ConfigureXHR for the receive service.
Perform sending and receiving operations simultaneously.
Occasionally, observe that the send service's credentials cross over with the receive service's credentials.
I am using the ews-javascript-api library to send and receive emails through EWS in a Node.js project. I have two service instances, one for sending and another for receiving, using different email accounts.
I expect each service to maintain its own authentication configurations and not interfere with each other. However, occasionally, the send service uses the credentials of the receive account.
// Code for the send service
ews_send.ConfigurationApi.ConfigureXHR(
new ews_send.ntlmAuthXhrApi(
this.configService.get('EMAIL_USER_REPLY'),
this.configService.get('EMAIL_PASSWORD_REPLY')
)
);
// Code for the receive service
ews_receive.ConfigurationApi.ConfigureXHR(
new ews_receive.ntlmAuthXhrApi(
this.configService.get('EMAIL_USER_RECEIVES'),
this.configService.get('EMAIL_PASSWORD_RECEIVES')
)
);
Steps to Reproduce the Issue:
Set up two different email accounts for sending and receiving.
Call ConfigureXHR for the send service.
Call ConfigureXHR for the receive service.
Perform sending and receiving operations simultaneously.
Occasionally, observe that the send service's credentials cross over with the receive service's credentials.
Environment:
Node.js version: 20.17.0
ews-javascript-api version: 0.15.3
The text was updated successfully, but these errors were encountered: