I copied the example from Zodiac. Changed to my credentials and got a simple
message mailed out successfully.
Then I tried changing to an html message:
| mailMessage |
mailMessage := MailMessage empty.
mailMessage setField: 'subject' toString: 'Mail Test'.
mailMessage body: (MIMEDocument
contentType: MIMEDocument contentTypeHtml
content: 'This is test Pharo <>
').
ZdcSecureSMTPClient
sendUsingGMailAccount: 'myn...@mydomain.com'
password: 'MyPWord01'
to: 'myothern...@myotherdomain.com'
message: mailMessage.
What appeared in the email content was this:
This is test Pharo <[http://pharo.org>
http://pharo.org'>Pharo
Where did I go wrong?
Thanks.
--
View this message in context:
http://forum.world.st/GMail-example-html-tp4936801.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.