-
Notifications
You must be signed in to change notification settings - Fork 24
feat: updateEmail #101
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
pooranjoyb
merged 18 commits into
pooranjoyb:develop
from
aritracodes-69:feat/updateMessage
Sep 9, 2025
Merged
feat: updateEmail #101
Changes from all commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
25a3eb9
Feat/createEmail
aritracodes-69 c6e0db3
C++ docs
aritracodes-69 146e3ed
Latest Commit
aritracodes-69 47497d4
feat/updateMessage
aritracodes-69 ad24e95
deleted irrelevant
aritracodes-69 2918609
Errors Resolved
aritracodes-69 40e3207
Minor Changes
aritracodes-69 a30e999
Updating..
aritracodes-69 d5e6ccb
Update
aritracodes-69 9bedc9d
New Update
aritracodes-69 6b0d517
201 removed
aritracodes-69 1d3f44f
Merge branch 'develop' into feat/updateMessage
aritracodes-69 4d97b0a
Merge branch 'develop' into feat/updateMessage
aritracodes-69 b3b6b40
Merge branch 'develop' into feat/updateMessage
aritracodes-69 e519207
Update Email
aritracodes-69 a82d8e9
Fix
aritracodes-69 b86e638
Make Update
aritracodes-69 a650ba5
Makefile Update
aritracodes-69 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,24 @@ | ||
| #include "Appwrite.hpp" | ||
| #include <iostream> | ||
|
|
||
| int main() { | ||
| std::string projectId = "<project-id>"; | ||
| std::string apiKey = "<api-key>"; | ||
|
|
||
| Appwrite appwrite(projectId, apiKey); | ||
|
|
||
| std::string messageId = "<existing-email-message-id>"; | ||
| std::string subject = "Updated Subject from C++"; | ||
| std::string content = "Updated content of the email from C++ SDK."; | ||
|
|
||
| try { | ||
| std::string response = appwrite.getMessaging().updateEmail( | ||
| messageId, subject, content | ||
| ); | ||
| std::cout << "Email Message Updated!\nResponse: " << response << std::endl; | ||
| } catch (const AppwriteException &ex) { | ||
| std::cerr << "Exception: " << ex.what() << std::endl; | ||
| } | ||
|
|
||
| return 0; | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.