Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Notification M365 - E-Mail From #836

Open
towerplease opened this issue Feb 24, 2023 · 3 comments
Open

Notification M365 - E-Mail From #836

towerplease opened this issue Feb 24, 2023 · 3 comments

Comments

@towerplease
Copy link

Question

Hi,

as written here, i have set up a E-Mail notification from my monitoring-system (uptime kuma) and it is working as expected.
https://github.com/caronc/apprise/wiki/Notify_office365

But, there is no explanation how i can change the "e-mail from". Currently its senden from my adress, but i want it to be from another emailgroup in exchange, where i have sending-permissions.

For me its just not clear how the string needs to be formatted.

o365://{tenant_id}:{account_email}/{client_id}/{client_secret}/
o365://{tenant_id}:{account_email}/{client_id}/{client_secret}/{targets}

o365://{tenant_id}:{account_email}/{client_id}/{client_secret}/{targets}/replyTo?

Can you help me?

Regards

@caronc
Copy link
Owner

caronc commented Feb 24, 2023

Try:

  • o365://credentials?from=name
  • o365://credentials?from=email
  • o365://credentials?from=name<email>

I never considered group names, so let me know if the above still gives you the desired effect you're looking for.

Edit: i looked through the code and i don't think this will give you the desired effect I identified above. I'll need to create a fix to add the support IF the Office 365 API allows for it

@towerplease
Copy link
Author

Hi @caronc

Thank you for your suggestion. I tried the following:
o365://{tenant_id}:{account_email}/{client_id}/{client_secret}/{targets}?from={email}
but there was no email sent.

It would be very nice, if this feature could be enabled, as for it is described in the "How-To"-page.

Thank you in advance!
Regards.

@caronc
Copy link
Owner

caronc commented Feb 27, 2023

I need to first investigate if it can be done and then implement this. I'll update the documentation once (or if) it can be done

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

No branches or pull requests

2 participants