There was some discussion of shipping SwiftMailer with WordPress. However, the SwiftMailer code is bigger than WordPress. Is there a smaller version? Can a bunch of files be removed if only core functionality is needed? Is there a stripped down version available? Would it be easy to package the code into a single file?
Swift 3.3.1-php5 is only 284 KB in size (without docs and tests). I don't think it's too much of a code. Besides, comments could be stripped from its source and that would reduce swift's size at least twice.
True, 284Kb is not that big. However, PHPMailer is currently 44Kb and in a single file, which were two of the biggest reasons to keep it. Anyone know if it's possible to combine the SwiftMailer files into a single file?
feyd wrote:phpmailer is also a fair bit slower in execution than swift.
And lacks features.
You can delete bits you know you're not going to use (all of what's in "Plugin", most of what's in "Connection" all of what's in "Authenticator", bits of what's in "Message").
What bits do you need? I can't really say what to keep and what to delete without seeing a script you'e using it in.