Open andresimi opened 1 year ago
@andresimi please try changing your call server()
to emayili::server()
. The problem with your existing code is that you have a global variable called server
which is smashing the server()
function defined in {emayili}
.
You might also find this blog post useful.
Oh Great! Thanks. At least now I know it is possible to send emails. However, I would like to build reactive report. Is that possible? When I change observeEvent to reactiveEvent it not work.
@andresimi this seems to be a Shiny issue rather than an {emayili}
issue.
Ok, but I am not sure what is the issue: If I interpolate text body like "{{greetings_text()}}" is it supposed to work with observeEvent or it should be possible to work with reactiveEvent?
Please provide your code.
Description of the bug
I want to create a shinyapp that sends a report via email. However I am not being able to do so. So i tried this simple code to test and it isn't working when I run the app. It works if I run the code or in normal r studio session.
I am getting this error in the console:
Than you very much!
Steps To Reproduce
Additional Information
Fedora 37 R version 4.2.2 (2022-10-31) emayili 0.7.13 shiny 1.7.4