Norbert Hartl wrote
Analyzing your problem I focus on the "dyn" word in it. That means to me you are probably using a dialup or similar line from home. These are always considered to be not trusted... The addresses are added and removed automatically so this could also be a reason why it worked some day and now it doesn't.
Norbert, thanks for all the details! Yes, this all sounds right, especially because the errors are intermittent. So the use of the local address does not seem to be the cause of the error, but it still doesn't seem right to me to pass the private address to the outside world. Norbert Hartl wrote
you need to use SMTP Auth to make the mail server accept your requests.
Ah, yes! Very good. I was using the one-shot methods on the class-side of SMTPClient, which do not expose this part of the API. I wonder if they could. I think they'd be more useful. Right now, to send a message with credentials, it seems you'd have to write: csmtpClient := SMTPClient new user: 'username'; password: 'pwd'; openOnHost: (NetNameResolver addressForName: 'mail.myserver.com' timeout: 20) port: smtpPort. [smtpClient initiateSession. smtpClient mailFrom: fromAddress to: recipientList text: messageText. smtpClient quit] ensure: [smtpClient close]. Yuck. Sean -- View this message in context: http://forum.world.st/SMTPClient-uses-local-address-tp4178445p4180482.html Sent from the Pharo Smalltalk mailing list archive at Nabble.com.