muquit / mailsend

A program to send mail via SMTP from command line
Other
294 stars 68 forks source link

PDF Attachment shows as Body Text #148

Open KorucuTech opened 5 years ago

KorucuTech commented 5 years ago

Hi

I am trying to do a simple single pdf file attachment like this

mailsend1.19.exe -v -smtp 192.168.0.xx -port 25 -auth -user me@here.com -pass XXXX -f me@here.com -t you@there.com -sub "This is a test" -mime-type "application/*" -disposition attachment -attach "FILE.PDF"

and I get the email where file shows as bas64 text in the body of the email

If I add -msg-body "mybodytext.txt" then body of the email shows the correct body text but attached PDF is gone.

Any Ideas thanks

muquit commented 5 years ago

Please try mailsend-go: https://github.com/muquit/mailsend-go Thanks.

Wolf-SO commented 5 years ago

Please try mailsend-go: https://github.com/muquit/mailsend-go Thanks. Good to know, so thanks also to @Kemaletdin for opening the issue.