I'm not sure whether this problem with worthy of your attention, since (so far) it seems to be specific to one email provider and for large attachments only. But I thought I'd report it in case more providers are affected.
When sending an attachment of size 8k+ from my Yahoo account and using smtp.mail.yahoo.com as my SMTP server, I get the following error message:
Bad response received for command. command: (
.), response: 500 Line length exceeded. See RFC 2821 #4.5.3.1.
Sending an attachment of size 4k via Yahoo succeeds.
Sending an attachment of size 8k via Mac/iCloud SMTP infrastructure succeeds.
This is in a MacOS app with the following version information:
I'm not sure whether this problem with worthy of your attention, since (so far) it seems to be specific to one email provider and for large attachments only. But I thought I'd report it in case more providers are affected.
When sending an attachment of size 8k+ from my Yahoo account and using smtp.mail.yahoo.com as my SMTP server, I get the following error message:
Bad response received for command. command: ( .), response: 500 Line length exceeded. See RFC 2821 #4.5.3.1.
Sending an attachment of size 4k via Yahoo succeeds.
Sending an attachment of size 8k via Mac/iCloud SMTP infrastructure succeeds.
This is in a MacOS app with the following version information:
Swift 4.2 Xcode 10.1 MacOS 10.14.2 SwiftSMTP 5.1.0 LoggerAPI 1.8.0 Cryptor 1.0.23 SSLService 1.0.44 Socket 1.0.44
Below is my "send email" code showing full parameters from my test MacOS project. I have a test project if that is helpful.
Darrell