I am using cloud function to send an email when email received it doesn't have "to" email address. Please see attached image.
My cloud function detail: built with: Dart Email Provider: smtp2go
smtp2go logs
TypeScript
Received: from [10.91.244.249] (helo=worker-messaging-XXX-xpxt5)
by smtpcorp.com with esmtpsa (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
(Exim 4.98.1-S2G)
(envelope-from <AppWriteBackEnd@XXX.com>)
id 1vcp0K-FnQW0hPolK8-dfQz
for XXX@gmail.com;
Mon, 05 Jan 2026 18:08:32 +0000
Date: Mon, 5 Jan 2026 18:08:30 +0000
To: undisclosed-recipients:;
From: AppWriteBackEnd Support <AppWriteBackEnd@XXX.com>
Subject: Appwrite Event: Invalid Firmware File Uploaded
Message-ID: <MkO8dUf6pHE3t9Y2gI4dxBDfCkpvcCZUXwmnzTVbA@worker-messaging-67f9c75f74-xpxt5>
X-Mailer: PHPMailer 6.9.1 (https://github.com/PHPMailer/PHPMailer)
MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary="b1=_XXX"
Content-Transfer-Encoding: 8bit
TL;DR
Emails sent via the cloud function are missing the "To" field when received by the receiver. The issue is likely with the configuration of the cloud function or SMTP2GO settings. The provided email message headers show "undisclosed-recipients" in the "To" field. Review the cloud function setup and SMTP2GO configuration to ensure the proper recipient address is included in the email.Messaging configuration
Recommended threads
- Weird permission failure
when creating an account I use following methods: ``` Future<void> register(String email, String password, String username) async { final user = await accoun...
- Appwrite Storage error 503s for automate...
I'm facing error 503s from Appwrite after about 5-6 seconds of making AI requests from my tool with images and files above 20MB (=> not inline base64 used, but ...
- Flutter Android oAuth is no more working
I currently don't get the oAuth login to work in flutter android. it works on ios and on web. but when try to use it on Android, i get to the point where the ca...