Skip to content
Back

Failed sending to target <Email> with error: SMTP Error: data not accepted.

  • 0
  • Tools
  • Messaging
  • Cloud
Lokii
19 Dec, 2025, 04:24

Hi! I got this problem and trying to test the resend smtp server. But when I use messaging feature within the console it says.

Failed sending to target <Email> with error: SMTP Error: data not accepted.SMTP server error: DATA END command failed Detail: Invalid to field. The email address needs to follow the email@example.com or Name <email@example.com> format. SMTP code: 450

TL;DR
Developers are encountering an SMTP error while trying to send an email. The error message indicates that the data is not being accepted due to an invalid 'to' field format. The correct email format should be either `email@example.com` or `Name <email@example.com>`. This issue likely stems from the incorrect format of the email address. Developers are advised to verify and rectify the email format.
Devika
19 Dec, 2025, 04:27

Please check that you're using correct Email ID format

Lokii
19 Dec, 2025, 04:40

I've already checked it, appwrite's uses Target and it lets me chooses those users (emails) where to send to

Lokii
19 Dec, 2025, 04:40

And it seems like the email is correct and the format is correct as well "<email>@gmail.com"

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