Skip to content

Conversation

me-hem
Copy link
Contributor

@me-hem me-hem commented Oct 6, 2025

This PR adds the createEmail() method (issue #138) to create and send a new Email via the Appwrite Messaging API.

Changes made:

  • classes/Messaging.hpp - Added declaration for createEmail() method
  • services/Messaging.cpp - Implemented createEmail() method to create and send a new Email message
    -Makefile - Added an entry forcreateEmail() method to compile and test it.
  • createEmail.cpp - Added test to validate createEmail() functionality

Test result:

createEmail
@me-hem
Copy link
Contributor Author

me-hem commented Oct 11, 2025

@pooranjoyb @sristy17 Please review.

@me-hem
Copy link
Contributor Author

me-hem commented Oct 17, 2025

@pooranjoyb Please review this too.

@pooranjoyb
Copy link
Owner

@pooranjoyb Please review this too.

use a lambda instead; show screenshots of appwrite console + terminal.

@me-hem
Copy link
Contributor Author

me-hem commented Oct 19, 2025

Sure, I will submit by tonight.

@me-hem
Copy link
Contributor Author

me-hem commented Oct 19, 2025

@pooranjoyb I have added addFieldToPayload lambda function to the createEmail method to simplify the implementation for building JSON arrays

Test results:

1. Terminal

image

2. Appwrite console

image
@pooranjoyb pooranjoyb merged commit 707ff90 into pooranjoyb:develop Oct 22, 2025
@pooranjoyb pooranjoyb added gssoc25 Issue under Girlscript Summer Of Code 2025 level 3 GSSOC level 3 labels Oct 22, 2025
@pooranjoyb pooranjoyb moved this to Done in C++ SDK Appwrite Oct 22, 2025
@pooranjoyb pooranjoyb linked an issue Oct 22, 2025 that may be closed by this pull request
@me-hem me-hem deleted the feature/createEmail branch October 22, 2025 16:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

gssoc25 Issue under Girlscript Summer Of Code 2025 level 3 GSSOC level 3

3 participants