Send HTML email with plain text fallback via Gmail API
问题 An answered question at StackOverflow suggests that adding html-markup to the body of the email will do the trick. Is that solution correct? But what if the recipient's email server/client does not support HTML email? E.g. when using Apache commons email, I do the following: // set the html message email.setHtmlMsg("<html>Our logo - <img src=\"cid:"+cid+"\"></html>"); // set the alternative message email.setTextMsg("Your email client does not support HTML messages"); Is there any way to tell