1
[SMTPClient
deliverMailFrom: sender
to: recipient
text: message
usingServer: 'mail.google.com']
on: Error
do:["Transcript show:'Sumthing went wrong'"].
如果SMTPClient
引发Error
说TelnetProtocolError
或ConnectionTimedOut
。 什么是正确的方式来使成绩单显示我的消息?错误处理SMTPClient