Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Add spaces to X-SMTP header #3
Sending emails to large number of recipients I've encountered such error:
The reason was in X-SMTP header, which was too large and was not broken down with spaces properly.
This pull-request adds spaces to header, so problem seems to be resolved.
I'm migrating from the sengrid gem to this one which appears much better designed, and I'm about to start sending emails in batches of 1000. This looks like a legitimate problem that I'd rather solve before I get burned in production. Any comment on merging this down Pavel? I'd be willing to contribute to a better solution if you want.