question

baluchowdary-7675 avatar image
0 Votes"
baluchowdary-7675 asked BradSmith-8843 commented

Could not create ExchangeService instance reason: The SMTP address has no mailbox associated with it. , caused by : null

I am unable to connect to the exchange server in fetching the mails. I am receiving an error " Could not create ExchangeService instance reason: The SMTP address has no mailbox associated with it. , caused by : null. We are already running with latest Cummulative Update.
"

[2021-07-27 17:35:47.914] INFO [L:ic.mediaresource.impl F:477200.477202.477205 T:'pool-media_resource_handling-thread-26' R: C:MediaResourceComponent(1) ] stoping fetcher job for EMAIL profile {"a":"<p>Regards,</p><p><br></p>","b":"CaseId","c":"d760-60ffe49b-MediaProfileId-0","d":"info.rfh","e":"VNXTkTZbsnqr3hUpvDr+5w==","f":"EWS","g":"EWS","h":"https://mail.rim.com/ews/exchange.asmx","i":"100","j":"in.rim.com","k":"100","l":false,"m":false,"n":"Info_HNHHospital_Org","o":true,"p":true,"q":10,"r":1,"s":"Inbox","t":"Sent Items","u":100,"y":"2021-07-26 17:01:55.116","z":false,"B":"Info_hnHospital","C":"info@hnhopital.org"}
[2021-07-27 17:35:47.914] WARN [L:ic.mediaresource.impl F:477200.477202.477205 T:'pool-media_resource_handling-thread-26' R: C:MediaResourceComponent(1) ] no email sender for EMAIL profile with id d760-60ffe49b-MediaProfileId-0
[2021-07-27 17:35:47.920] INFO [L:ic.mediaresource.impl.email.fetcher F:477200.477202.477205 T:'pool-media_resource_handling-thread-26' R: C:MediaResourceComponent(1) ] EmailFetcheJob fetch protocol found EWS
[2021-07-27 17:35:47.920] INFO [L:ic.mediaresource.impl.email.fetcher F:477200.477202.477205 T:'pool-media_resource_handling-thread-26' R: C:MediaResourceComponent(1) ] Going to create EWS instance for media-profile-id: d760-60ffe49b-MediaProfileId-0
[2021-07-27 17:35:50.885]ERROR [L:ic.mediaresource.impl.email.fetcher F:477200.477202.477205 T:'pool-media_resource_handling-thread-26' R: C:MediaResourceComponent(1) ] Could not create ExchangeService instance reason: The SMTP address has no mailbox associated with it. , caused by : null

office-exchange-server-mailflowoffice-exchange-server-dev
· 4
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @baluchowdary-7675

Are you using EWS to connect to the Exchange server?

Is the target mailbox hosted by the Exchange server? Can you log in OWA with the credentials?

0 Votes 0 ·


@KaelYao-MSFT Tq for the comment.

Yes, I am using EWS to connect Exchange server.

I have logged in using OWA url and the respective mailboxs are present.

0 Votes 0 ·
KaelYao-MSFT avatar image KaelYao-MSFT baluchowdary-7675 ·

Hi,
Thanks for the update!

Since your question is related to EWS development, I have added the tag office-exchange-server-dev to it.
Thanks for your understanding and hope you will get the answer soon.

0 Votes 0 ·

Looking at the log fragment, I'm noticing this SMTP address: C":"info@hnhopital.org"}

Are you sure you don't want info@hnhospital.org (with an 's')?

0 Votes 0 ·

0 Answers