Smalltalk Pharo ZdcSecureSMTPClient not showing html formatting in GMail?
问题 I'm using ZdcSecureSMTPClient to send an html formatted string to a gmail account. But when I send it it displays the html encoding as plain text. ie) mailMessage := MailMessage empty. mailMessage setField: 'subject' toString: 'Trying to send html '. mailMessage body: (MIMEDocument contentType: 'text/html\n' content: '<html><head><b> Dear </b></head></html>' This shows is Gmail as: 'html> head> Dear /b>/head>/html>' Using Seaside/Pharo 2.0 one click image. 回答1: What you use to set the mime