mailsend
mailsend copied to clipboard
Combine html text
Hi,
i want to combine a html text. i run this command:
mailsend -t [email protected] -f [email protected] -name NAME -ssl -port 465 -auth -smtp smtp.gmail.com -sub "Hello" -content-type "text/html" -M "<b>hello world</b>" -user [email protected] -pass password
and this email message appears:
how i remove --h1ffccko3plpiZ9k Content-Type: text/plain; charset=utf-8 Content-Disposition: inline and -h1ffccko3plpiZ9k--
??
i mean only "hello world" will appears in the text message.
Thanks.
Hi I have the same problem. How can one solve it? Thanks
Use -mime-type
instead of -content-type
. They are not the same thing. -content-type
is used for embedding images in HTML. There are bunch of test_embed scripts in test/ directory to show how to embed images in HTML.
Thanks.
Thanks, That helped. Also realized that the order of the parameters is very important. Was trying to send a html coded email togheter with an attachment (not inline) and could not succeed until I changed the order of the params. Not sure what in my previous order was wrong, but now it works! Mailsend is a great little tool, but some more documentation would be great! Thanks :-)