![](https://cdn.discordapp.com/avatars/903996612253212713/de7367571b80403a62fbbf8e22a1ee5b.webp)
I am trying to schedule a mail using the createEmail()
API from the node-appwrite module, in the docs it is mentioned that the scheduleAt
parameter is optional but when I leave the string empty it generates an error like this:
code: 400,
type: 'general_argument_invalid',
response: {
message: 'Invalid
scheduledAt param: Value must be valid date in the future and between 0000-01-01 00:00:00 and 9999-12-31 00:00:00.',
code: 400,
type: 'general_argument_invalid',
version: '1.6.1'
}
then if I pass the scheduleAt paramter with the date and time as current date and time expecting it to immediately send the mail, it actualls schedules it to some different time in future, I don't get this weird behaviour...
Recommended threads
- Unable to access the cloud console
Still unable to access the cloud console after the downtime. Please help me. <:appwrite:1156975611466764298>
- Collections accidental delete
Hi there. I accidentally deleted my portion of collections from Appwrite Cloud. I can’t see any way to restore those. Is there anything possible to recover t...
- message"User (role: guests) missing scop...
``` // src/lib/appwriteConfig.js import { Client, Account, Databases } from "appwrite"; const client = new Client() .setEndpoint(import.meta.env.VITE_APPWRIT...
![](/images/bgs/pre-footer.png)