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

Error with custom SMTP #4

Open
ankbs opened this issue May 14, 2017 · 8 comments
Open

Error with custom SMTP #4

ankbs opened this issue May 14, 2017 · 8 comments

Comments

@ankbs
Copy link

ankbs commented May 14, 2017

Hello,
when i try to send with custom SMTP and a custom eMail Template, there is an error.

Error: Object reference not set to an instance of an object.
Server response: {"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#invitations/$entity","id":"0f9c2299-dda8-491d-YYYYY-a952c969a279","inviteRedeemUrl":"https://invitations.microsoft.com/redeem/?tenant=016a5c66-fd2a-4269-YYYYYY-badd3f3f7c5c&user=0f9c2299-dda8-491d-YYYYY-a952c969a279&ticket=dWLcgdXEMnkmwIRTivPAXtxfBugwyevIanV3EvGzgy4%3d&lc=1033&ver=2.0","invitedUserDisplayName":"ab2b2 cb2b2","invitedUserType":"Guest","invitedUserEmailAddress":"b2btest@mobile-server.de","sendInvitationMessage":false,"invitedUserMessageInfo":{"messageLanguage":null,"ccRecipients":[{"emailAddress":{"name":null,"address":null}}],"customizedMessageBody":null},"inviteRedirectUrl":"https://azureb2bgroupportal-XXXXXXXX.azurewebsites.net/profile","status":"PendingAcceptance","invitedUser":{"id":"cb4244fc-02ba-4604-a906-9942562e55f8"}}

Mail with AZURE integrated is running, but without custom email.

Whats' wrong here?

Thank you
(i'm using the latest build, but the error was before, too.

@bretthackermsft
Copy link
Contributor

Can you paste the call stack? The design is to send via the B2B API by default, and to send via SMTP if all of the SMTP settings (SMTPLogin, SMTPPassword, MailServer, SMTPPort) are populated in the app settings. And yes, there was a bug fixed in that section of code in the latest update...

@busterheyman
Copy link

Hey Brett, I have deployed the App into my Bizspark subscription with various SMTP Email services (sendgrid/MailJet...) , and I still receive the above error, am I missing something?. The Deny process works fine, but the Approval just bombs out. I have deployed with all the SMTP settings. These settings to Relay Mail

Thanks

@SyndicateOfSwing
Copy link

Hey Brett, I am having the same issue. Can you help ?

@zjorz
Copy link

zjorz commented Oct 28, 2018

Hi Brett, I am having the exact same issue. Can you help?

@zjorz
Copy link

zjorz commented Oct 30, 2018

Hi,

Is there a newer version (any fork) that does not have the issue with the error when approving the guest request through the webbapp

@zjorz
Copy link

zjorz commented Nov 1, 2018

Can you paste the call stack? The design is to send via the B2B API by default, and to send via SMTP if all of the SMTP settings (SMTPLogin, SMTPPassword, MailServer, SMTPPort) are populated in the app settings. And yes, there was a bug fixed in that section of code in the latest update...

Hi Brett,
I deployed the latest master version to Azure. I'm still getting the error when approving the invitation request through the App. I get the same error as the original poster. I have tried to solve this myself, but cannot find it. Can you help or give a hint?
Thanks, regards
jorge

@gabrieligm
Copy link

Me too... I have the same problem, It doesn't work with custom mail server ( I tried both smtp.office365.com and an open relay server)

@SB-o-matic
Copy link

Was anyone able to resolve this?

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

7 participants