appwrite/docs/examples/1.6.x/server-php/examples/messaging/update-email.md
2024-07-03 17:25:40 +02:00

722 B

setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setKey('<YOUR_API_KEY>'); // Your secret API key $messaging = new Messaging($client); $result = $messaging->updateEmail( messageId: '', topics: [], // optional users: [], // optional targets: [], // optional subject: '', // optional content: '', // optional draft: false, // optional html: false, // optional cc: [], // optional bcc: [], // optional scheduledAt: '', // optional attachments: [] // optional );