Add option to send email attachment from string (not only from file).

I would be very pleased if this option would be available in some
future version. Thank you.
Merge pull request #1385 from LeaseWeb/2.4

 Add option to send email attachment from string (not only from file).