eventmachine/eventmachine — pull request #364 by cstorey (2012-09-10 13:03:10+00:00)
Title: Make PLAIN AUTH SMTP work with long username/passwords.

As it stands, the smtpclient protocol uses Array#pack to base64 encode data, which wraps the output at 60-characters (as you would when sending base64-encoded mail). However, the AUTH SMTP extension expects the initial authentication string to be a single line.

This is a particular issue when using credentials for Amazon's simple email service, which tend to be quite long (>64 characters combined).

Is this okay to be merged as is, or is there anything else you'd need me to do first?