appsmith
appsmith copied to clipboard
[Bug]: SMTP : The mail does not consider new line character
Is there an existing issue for this?
- [X] I have searched the existing issues
Description
When the user sends out a lengthy mail via SMTP that considers with paragraphs. The mail was written properly on the Appsmith but when received in a single liner
Steps To Reproduce
- Add the configuration
- Create a query
- Add a lengthy body with new line character
- send a mail to the user and observe the mail on receiving end

Public Sample App
No response
Issue video log
No response
Version
Production
@sumitsum For SMTP plugin, there is no where specified to the users that the email body will be accepted of type text/html , When users will try to add a new line, it doesn't work
For new line, they'll have to use <br>
instead.
There are 2 possible solutions here
- Let the users select the body type.
- Be clear to the users that we will accept only text/html type.
I suggest we should go with letting user's choose the content-type text/plain will be default choice, and advanced users who know html can choose text/html if they need
@sanveer-osahan instead of having a drop down to select the body type and another input for body content. Lets use the segmented button control to select the type of body and text area for entering the content.
Figma Link: https://www.figma.com/file/Qs7p5frNx7uEfVYpADGk0d/Query-Pane-Improvements?node-id=1701-56624&t=ZtR4uAToEI4QK5sn-4
Will be closed by https://github.com/appsmithorg/appsmith/issues/22749