Skip to content
This repository has been archived by the owner on Oct 27, 2022. It is now read-only.

Trying to send Email to user #3

Open
clucero36 opened this issue Nov 14, 2020 · 1 comment
Open

Trying to send Email to user #3

clucero36 opened this issue Nov 14, 2020 · 1 comment

Comments

@clucero36
Copy link

Hey there !
So I am just starting to work with Pebble & Spring Boot. One of my tasks for a project is to implement an email sender. I notice in your Home.pebble page, you have a form that takes a 'message'. The forms action is /emails. The same goes for the EmailController where your post mapping is also /emails. I am unable to find this 'emails' pebble page.
I am having a hard time figuring out how you're sending an email to a specific user.
Thanks in advance!

@clucero36
Copy link
Author

As I make progress on this email sending feature, I've come to understand that I need to configure a handful of 'view resolvers'.
In a configuration file, I am trying to configure a view resolver to handle my standard application, and another to handle sending my emails. However when I add the configuration for my email 'view resolver' my whole application uses that specific view and doesn't render the other files. Any info on how to configure a standard view for my application then use the email 'view resolver' only when it's needed. Thanks !

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant