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
- Having issues with login via CLI
``` ~/appwrite ξ° appwrite login --endpoint https://localhost/v1 --verbose ? Enter your email myvalidemai...
- Send Email Verification With REST
I am using REST to create a user on the server side after receiving form data from the client. After the account is successfully created i wanted to send the v...
- Use different email hosts for different ...
Hello, I have 2 projects and i want to be able to set up email templates in the projects. Both projects will have different email host configurations. I see ...