Error with custom SMTP
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":"[email protected]","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.
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...
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
Hey Brett, I am having the same issue. Can you help ?
Hi Brett, I am having the exact same issue. Can you help?
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
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
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)
Was anyone able to resolve this?