mailsend-go icon indicating copy to clipboard operation
mailsend-go copied to clipboard

-Inline is ignored

Open Ho52198 opened this issue 5 years ago • 2 comments

Hello, I am following the example, but -inline imagie is ignored. I know is only a hint, but is not working on both my work e-mail (outlook) and in gmail.

My code is:

mailsend-go -f [email protected] -t [email protected] -smtp 192.168.252.8 -port 25 body -file body.txt attach -file "D:\develop\size\plot.png" -inline

Please assist

Ho52198 avatar Apr 11 '20 08:04 Ho52198

I'm not surprised about outlook. However, it works fine with gmail, I tested it again. In gmail, inline image is displayed. In gmail, Show original shows the following, notice the Content-Disposition is inline. How does your content look like?

--efff25afa1b9cfb01b66ccca86772b7b0bd51a943e832838178cc90e9e0a
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset=utf-8; charset=UTF-8

Text file as body. png image is inline.

--efff25afa1b9cfb01b66ccca86772b7b0bd51a943e832838178cc90e9e0a
Content-Disposition: inline; filename="cat.png"
Content-ID: <cat.png>
Content-Transfer-Encoding: base64
Content-Type: image/png; name="cat.png"


--efff25afa1b9cfb01b66ccca86772b7b0bd51a943e832838178cc90e9e0a--

muquit avatar Apr 11 '20 16:04 muquit

Hello, This is form gmail :

Content-Disposition: inline; filename="plot.png" Content-ID: <plot.png> Content-Transfer-Encoding: base64 Content-Type: image/png; name="plot.png"

Ho52198 avatar Apr 12 '20 12:04 Ho52198