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

Use template in Apprise URL #116

Open
DanfieldNet opened this issue Apr 22, 2024 · 1 comment
Open

Use template in Apprise URL #116

DanfieldNet opened this issue Apr 22, 2024 · 1 comment

Comments

@DanfieldNet
Copy link

DanfieldNet commented Apr 22, 2024

Not sure if this is a bug or considered an enhancement. For one of the entries in my config, I'm using mailrise as a SMTP relay to SMTP2Go. The Apprise URL for SMTP2Go is in the form of: smtp2go://{user}@{domain}/{apikey}/{email}

Per the docs, I'm am trying to use the ${from} template to satisfy the URL format but the ${from} is being used as a litteral (not substituted):
smtp2go://${from}/myapistring/me@mydomain

I have verified that the ${from} variable is correct (and in the correct form) by placing it in the body of the message.

Here is log output (email changed):
[2024-04-21 17:38:33] WARNING:apprise:No SMTP2Go username was specified.
[2024-04-21 17:38:33] WARNING:apprise:Could not load Apprise YAML configuration entry #1, item #1
[2024-04-21 17:38:33] WARNING:apprise:Failed to load Apprise configuration from memory://
[2024-04-21 17:38:33] ERROR:apprise:There are no service(s) to notify
[2024-04-21 17:38:34] WARNING:mailrise.skeleton:Notification failed: address: [ [email protected][email protected] ] subject: [ RaidAlert-URGENT(192.168.1.14) ] body: [ 2024-04-21 17:38:24 (0.1K) ]

@inselberg
Copy link

Same "ERROR:apprise:There are no service(s) to notify " with a basic slack config.

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

No branches or pull requests

2 participants