Skip to content
Back

I am not getting "to" when email received by the receiver

  • 0
  • Functions
  • Messaging
  • Cloud
Ankit Maniya
5 Jan, 2026, 18:07

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
Issue: User is not receiving the "to" field when the email is received by the receiver. Solution: Unfortunately, no solution provided. Requested the function code from user for reference as they are also working on a similar function related to cloud functions.
Ankit Maniya
5 Jan, 2026, 18:18

Messaging configuration

muhamedmahmoud.
5 Jan, 2026, 21:53

Unfortunately I dont have a solution πŸ˜…, but can you please send me the function code ? I'm making the same function but still beginning to know how to deal with cloud functions

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more