unable to send mails. even smtp is correctly configured
govind@e2e-106-149:~/appwrite$ docker compose logs -f appwrite-worker-mails
appwrite-worker-mails | [Worker] Worker 0 is ready!
appwrite-worker-mails | Worker mails started
appwrite-worker-mails | [Job] Received Job (65b217a8d5b5d4.10007191).
appwrite-worker-mails | [Job] (65b217a8d5b5d4.10007191) failed to run.
appwrite-worker-mails | [Job] (65b217a8d5b5d4.10007191) Error sending mail: SMTP Error: The following recipients failed: certs@appwrite.io: <team@appwrite.io>: Sender address rejected: not owned by user something@codemantalks.com
appwrite-worker-mails |
appwrite-worker-mails | [Error] Type: Exception
appwrite-worker-mails | [Error] Message: Error sending mail: SMTP Error: The following recipients failed: certs@appwrite.io: <team@appwrite.io>: Sender address rejected: not owned by user something@codemantalks.com
appwrite-worker-mails |
appwrite-worker-mails | [Error] File: /usr/src/code/src/Appwrite/Platform/Workers/Mails.php
appwrite-worker-mails | [Error] Line: 96
appwrite-worker-mails | [Job] Received Job (65b217ba961533.91260033).
appwrite-worker-mails | [Job] (65b217ba961533.91260033) failed to run.
appwrite-worker-mails | [Job] (65b217ba961533.91260033) Error sending mail: SMTP Error: The following recipients failed: amoldeshmukh683@gmail.com: <team@appwrite.io>: Sender address rejected: not owned by user something@codemantalks.com
appwrite-worker-mails |
appwrite-worker-mails | [Error] Type: Exception
appwrite-worker-mails | [Error] Message: Error sending mail: SMTP Error: The following recipients failed: amoldeshmukh683@gmail.com: <team@appwrite.io>: Sender address rejected: not owned by user something@codemantalks.com
appwrite-worker-mails |
appwrite-worker-mails | [Error] File: /usr/src/code/src/Appwrite/Platform/Workers/Mails.php
appwrite-worker-mails | [Error] Line: 96
Appwrite is working fine. This is a problem with your SMTP provider
You might want to change your system email environment variable. It might still be set to team@appwrite.io
Noo it's same email address
Verify the environment variable using docker compose exec appwrite vars
- _APP_ENV=production
- _APP_LOCALE=
- _APP_OPTIONS_ABUSE=
- _APP_OPTIONS_FORCE_HTTPS=
- _APP_OPTIONS_FUNCTIONS_FORCE_HTTPS=
- _APP_OPTIONS_ROUTER_PROTECTION=
- _APP_OPENSSL_KEY_V1=your-secret-key
- _APP_DOMAIN=
- _APP_DOMAIN_FUNCTIONS=
- _APP_DOMAIN_TARGET=
- _APP_CONSOLE_WHITELIST_ROOT=
- _APP_CONSOLE_WHITELIST_EMAILS=
- _APP_CONSOLE_WHITELIST_IPS=
- _APP_SYSTEM_EMAIL_NAME=Appwrite
- _APP_SYSTEM_EMAIL_ADDRESS=something@codemantalks.com
- _APP_SYSTEM_RESPONSE_FORMAT=
- _APP_SYSTEM_SECURITY_EMAIL_ADDRESS=
- _APP_USAGE_STATS=
- _APP_LOGGING_PROVIDER=
- _APP_LOGGING_CONFIG=
- _APP_USAGE_AGGREGATION_INTERVAL=
- _APP_USAGE_TIMESERIES_INTERVAL=
- _APP_USAGE_DATABASE_INTERVAL=
- _APP_WORKER_PER_CORE=6
- _APP_REDIS_HOST=redis
- _APP_REDIS_PORT=6379
- _APP_REDIS_USER=
- _APP_REDIS_PASS=
- _APP_DB_HOST=
- _APP_DB_PORT=
- _APP_DB_SCHEMA=
- _APP_DB_USER=
- _APP_DB_PASS=
- _APP_DB_ROOT_PASS=
- _APP_INFLUXDB_HOST=
- _APP_INFLUXDB_PORT=
- _APP_STATSD_HOST=
- _APP_STATSD_PORT=
- _APP_SMTP_HOST=smtp.hostinger.com
- _APP_SMTP_PORT=465
- _APP_SMTP_SECURE=ssl
- _APP_SMTP_USERNAME=something@codemantalks.com
- _APP_SMTP_PASSWORD=***********
everything seems correct right ?
Recommended threads
- Can't really use the S3 storage device
hi, I've linked my local MinIO Instance (it's just for testing, not for prod.) to my appwrite instance, when i'm uploading a file it's getting uploaded to the S...
- Next.js SSR Site Times Out on First Visi...
Hey everyone, I'm running a Next.js SSR site on a self-hosted Appwrite server (v1.9.0), and I've noticed a strange behavior that I'm hoping someone can help me...
- Appwrite migration stuck on pending
Migration an existing self hosted 1.9.0 to a new VPS tuning self hosted 1.9.0.. import data recognises the api url, project id and api and then when I create, i...