Hi i am trying to send mail using ZdcSecureSMTPClient class, here is the code i tried on workspace.
| mailMessage |
mailMessage := MailMessage empty.
mailMessage setField: 'subject' toString: 'ZdcSecureSMTPClient Test'.
mailMessage body: (MIMEDocument
contentType: 'text/plain'
content: 'This is test from Pharo Smalltalk').
ZdcSecureSMTPClient
sendUsingGMailAccount: 'sender@gmail.com'
password: 'mypass'
to: 'reciever@gmail.com'
message: mailMessage.
Everytime i try running this code , it gives me a debugger saying "connection timedout: cannot connect". I tried this with pharo 2.0 and pharo 3.0 on ubuntu OS both versions had the same problem, But this worked fine on windows 7 when i added
SqueakSSL.dll. I am not sure if i need some ssl plugin for ubuntu??