[squeak-dev] Sending html emails with MailMessage; line length issues

Tony Garnock-Jones tonyg at leastfixedpoint.com
Wed Jun 22 18:20:34 UTC 2022

On 6/22/22 20:19, tim Rowledge wrote:
> 	[message := MailMessage new
> 		from: senderName;
> 		to:  recipient;
> 		subject:  subjectString.
> 	message body: (MIMEDocument contentType: 'text/html' content: anHTMLString base64Encoded).
> 	message
>   		setField: 'content-transfer-encoding' toString: 'base64';
> 		setField: 'mime-version' toString: '1.0'.

This doesn't double-encode the text? Huh! (The experiment I did showed 
the encoding happening automatically as part of the c-t-e handling code.)


More information about the Squeak-dev mailing list