i need help in RichEditor::make('messages')
i send data to mail content, mail send well if the data contains text but when contains image error appearing where is the trick?
8 Replies
any knowlidge guys??
array:1 [▼ // app\Mail\notification.php:42
"messages" => "
<p><figure data-trix-attachment="{"contentType":"image/png","filename":"Mario.png","filesize":1024215,"height":1024,"href":"http://127.0.0.1:8000/storage/4aWc2pvvSVniKDYIqBCkqUtGBXnGtLkEOTaMTRGe.png","url":"http://127.0.0.1:8000/storage/4aWc2pvvSVniKDYIqBCkqUtGBXnGtLkEOTaMTRGe.png","width":1000}" data-trix-content-type="image/png" data-trix-attributes="{"presentation":"gallery"}" class="attachment attachment--preview attachment--png"><a href="http://127.0.0.1:8000/storage/4aWc2pvvSVniKDYIqBCkqUtGBXnGtLkEOTaMTRGe.png"><img src="http://127.0.0.1:8000/storage/4aWc2pvvSVniKDYIqBCkqUtGBXnGtLkEOTaMTRGe.png" width="1000" height="1024"><figcaption class="attachmentcaption"><span class="attachmentname">Mario.png</span> <span class="attachmentsize">1000.21 KB</span></figcaption></a></figure>test</p>
◀
"
]
```"
<p>test<figure data-trix-attachment="{"contentType":"image/png","filename":"Mario.png","filesize":1024215,"height":1024,"href":"http://127.0.0.1:8000/storage/wMhKAHzXJdczQ7TAw7NLyBWu5rnT1ca227WRu1UQ.png","url":"http://127.0.0.1:8000/storage/wMhKAHzXJdczQ7TAw7NLyBWu5rnT1ca227WRu1UQ.png","width":1000}" data-trix-content-type="image/png" data-trix-attributes="{"presentation":"gallery"}" class="attachment attachment--preview attachment--png"><a href="http://127.0.0.1:8000/storage/wMhKAHzXJdczQ7TAw7NLyBWu5rnT1ca227WRu1UQ.png"><img src="http://127.0.0.1:8000/storage/wMhKAHzXJdczQ7TAw7NLyBWu5rnT1ca227WRu1UQ.png" width="1000" height="1024"><figcaption class="attachmentcaption"><span class="attachmentname">Mario.png</span> <span class="attachmentsize">1000.21 KB</span></figcaption></a></figure></p>
◀
"```
this how image render
Nothing to do with filament
yes how to go
you know my problem yes?
I don't understand where's the error
i take richeditor data and send in mail
it work but when insert image and direct pass data as previous i faced error
let me show you the error
Solution
Something with your mail settings
As I said not filament related at all
you win