#[SOLVED] How does sending email from the Appwrite Server SDK work in the Free plan?

18 messages · Page 1 of 1 (latest)

peak mango
#

I noticed that the pricing page mentions “Messages – 1000 per month” for the Free plan. Is this different from sending emails?

When I try to send an email using the Server SDK, I get the following error:

No enabled provider found.

In the Free plan, do I need to configure our own email provider, or does Appwrite provide a default email service for sending emails?

Please see attached images for reference. Thanks in advance🙏 .

My dart function code:

Messaging messaging = Messaging(awClient);

Future resultFuture = messaging.createEmail(
  messageId: ID.unique(),
  subject: 'Appwrite Event1: Invalid Firmware File Uploaded',
  content:
      'Invalid firmware file uploaded: ${file.name} with mimeType: ${file.mimeType}',
  users: ["6837689e39d020b04962"],
);

try {
  // wait for email to be sent
  await resultFuture;
} catch (e) {
  context.log(
      "❌ Failed to send email notification for invalid firmware file: $e");
}
tepid summit
peak mango
#

Is it documented anywhere?

The 1000 means how much mails you can send using appwrite's sdk. 
As  the mails do have to get processed, appwrite is charging for the processing cost. Not providing the mails.
tepid summit
peak mango
#

Anyone from <@&1319717958645452800> ?

gray minnow
#

Are you using SMTP?

peak mango
#

No, my question is

In the Free plan, do I need to configure our own email provider, or does Appwrite provide a default email service for sending emails?

gray minnow
#

I too have used it. And I had to define my own provider. In my case, I used SendGrid.

peak mango
#

So why doesn’t the Appwrite documentation mention this clearly? If 1000 messages are free, they should also mention that we still need to use our own email providers.

I got the following answer from @tepid summit
The 1000 means how much mails you can send using appwrite's sdk.
As the mails do have to get processed, appwrite is charging for the processing cost. Not providing the mails.

#

It is quite confusing, but thanks to @tepid summit and @gray minnow for the clarification.

tepid summit
#

I do agree and disagree with you. Because appwrite says 1000 messages.
(Email, push notification, in app notification, discord included). Although it does not clarify that it does not provide email service but from my perspective nothing indicates It does. Glad to clear it out.

gray minnow
#

@peak mango If everything is clear & all your doubts regarding this are resolved, then please mark this post as "[SOLVED]"

peak mango
#

[SOLVED] How does sending email from the Appwrite Server SDK work in the Free plan?

peak mango
#

@violet mesa What I mean it should be mention in messages 1000 free but with limitation or something. From User (not developer) perspective I just read the pricing.