Mail.dll fluent interface tutorial

Fluent interface for creating and sending emails was added to Mail.dll as an additional feature. You can still use SimpleMailMessageBuilder class to create emails. Note that error handling code was removed for simplicity, you should use try...catch block when sending.

Sending simple plain text email using fluent iterface: Same code using SimpleMailMessageBuilder: Sending HTML mail with embeded images and an attachment using fluent iterface: Reusing Smtp client to send multiple emails using fluent iterface:
 
Products > Mail.dll .NET email component > Mail.dll help > Mail.dll fluent interface tutorial