diff --git a/src/Appwrite/Event/Mail.php b/src/Appwrite/Event/Mail.php index 6ded33e02e..9bdbf6044d 100644 --- a/src/Appwrite/Event/Mail.php +++ b/src/Appwrite/Event/Mail.php @@ -393,6 +393,7 @@ class Mail extends Event $this->variables = []; $this->bodyTemplate = ''; $this->attachment = []; + return $this; } /**