Closed Leprechault closed 3 years ago
his:
MyMSG <- reactive({
output$text_output <- renderText({input$text_input})
})
is not correct. Simply do
output$text_output <- renderText({input$text_input})
And for your observer:
observeEvent(input$sendMSG, {
my_email_object <-
compose_email(
body = input$text_input
)
Hi Everyone!!
I'd like to send an email and the body of the message is a reactive object (
MyMSG()
) create in:But a don't have success in export the text inside my
textAreaInput
inside the email body. In my example:But the body of the message is empty or if I change something (eg.
as.vector(MyMSG())
orreadLines(MyMSG())
) an "Error in writeImpl: Text to be written must be a length-one character" error.Please, any ideas to solve it?