Here go the updates on the COM library which offers easy to use COM interface to send emails, including over secure TLS and SSL channels:
x64
buildAttachments
property to enable attchments to the message being sentContentType
property to enabletext/html
bodies- subject non-English characters are correctly
UTF-8
encoded - empty
To
,CC
,BCC
fields are discarded - recent properties are put onto persistence map:
SecureSocketsLayer
,TransportLayerSecurity
,ContentType
message = new ActiveXObject("AlaxInfo.EmailTools.Message"); message.ServerHost = "smtp.gmail.com"; // ... message.Body = "See attached." attachment = message.Attachments.Add(); attachment.Type = "text/html"; attachment.Disposition = "attachment"; attachment.Name = "AutoBuildResults.html"; attachment.LoadFromFile("C:\\AutoBuildResults.html"); attachment = message.Attachments.Add(); attachment.Type = "image/jpeg"; //attachment.Disposition = "inline"; attachment.Name = "picture.jpg"; attachment.LoadFromFile("C:\\me.jpg"); // ... message.Send();
Download Information
- Download (32-bit): EmailTools.dll
- Download (64-bit): EmailTools.dll
- License: This software is free to use