The goal of this package is send email with fluent sintax code.
First configure your app.config or web.config file with simple configuration
<configSections>
<section name="emailConfiguration"
type="ExpressEmail.Configuration.ExpressEmailConfiguration, ExpressEmail"
allowLocation="true"
allowDefinition="Everywhere"
requirePermission="false"/>
...
</configSections>
<emailConfiguration>
<mainEmailConfiguration>
<smtp host="smtp.example.com" port="8080" useDefaultCredentials="false" enableSsl="true">
<credentials userName="user@example.com" password="123"/>
</smtp>
</mainEmailConfiguration>
</emailConfiguration>
ExpressEmail.Factory.Create()
.From("email@example", "Jonh Doe")
.To("email@example", "Someone")
.WithBody("TEST EMAIL")
.Send();
Remember when push your local branches not include sensitive information about your email configuration ;).
made with love to everything :P.