muquit / mailsend-go

mailsend-go is a multi-platform command line tool to send mail via SMTP protocol
Other
168 stars 16 forks source link

-inline parameter doesn`t work #38

Open Norbery opened 3 years ago

Norbery commented 3 years ago

I used old mailsend program and i can send text messages in body of emails:

mailsend.exe -smtp -name "testname" +cc +bc -q -sub "testsbj" -M " " -enc-type none -attach D:\222\test111.txt,text/plain,i

It works perfectly:

image

I tried new mailsend-go and realized -inline is not working:

mailsend-go.exe -smtp -fname "testname" -sub "testsbj" attach -inline -file "D:\222\test111.txt" -mime-type text/plain

image

How to fix it?

Wolf-SO commented 3 years ago

@Norbery Does body -file <your file> do what you want?

Norbery commented 3 years ago

@Norbery Does body -file <your file> do what you want?

It works, thanks a lot!