caronc / apprise

Apprise - Push Notifications that work with just about every platform!
https://hub.docker.com/r/caronc/apprise
BSD 2-Clause "Simplified" License
11.71k stars 410 forks source link

Not able to send Email using API with latest version #995

Closed aleenamerin123 closed 9 months ago

aleenamerin123 commented 11 months ago

{ "urls":"mailtos://example.in?smtp=smtp.office365.com&user=example@example.in&pass=abc1234&name=abc&port=587&to=abc@gmail.com&format=html", "title":"test", "body":"TEST message" }

above is my request which i used to send using api.

am getting the response as apprise: Connection error while submitting email to smtp.office365.com. Reason: can't start new thread 2023-11-08 23:03:08,428 [WARNING] django.request: Failed Dependency: /notify

in my linux server i am having the version as v1.6.0

but by using v0.9.2 version of apprise i am able to send the email.

my python version is 3.9.2

caronc commented 11 months ago

I found this article, I'm not sure if it's related. There appears to be an issue with a specific version of Docker and this error you're receiving (happening to many people) but does not appear to be an issue with Apprise...

Possible cause?

aleenamerin123 commented 11 months ago

my docker version is 20.10.0

caronc commented 10 months ago

If you're using Docker, then your version of Python shouldn't matter; you'll be instead using the version that ships with the docker container. Are you using the caronc/apprise:latest ?

You could try setting APPRISE_WORKER_COUNT to a higher value perhaps?

docker run --name apprise \
   -e APPRISE_WORKER_COUNT='20' \
   -p 8000:8000 \
   -v /var/lib/apprise/config:/config \
   -d caronc/apprise:latest

Your issue is definitely related to your environment in some way unfortunately.

You mentioned that it works fine on v0.9.2; that version is almost 2-3 years old; i wasn't aware a docker container still even exists that hosts that version. Can i ask which?

caronc commented 9 months ago

Is this still happening? a new version of Apprise was pushed

aleenamerin123 commented 9 months ago

yes you can close