Skip to content

mucahitimre/mailsender

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mailsender

c# basic fluent mail sender

internal class Program
{
    private static void Main()
    {
        Mail.Setting<MailSettingProvider>(w => w.GMailSetting)
            .Credential("myMail@mail.com", "psw")
            .Body("html body", true)
            //.From("example@mail.com")  - Optionally
            .From(true) //default Credential mail
            .DisplayName("Example activation mail")
            .Subject("Example activation mail Subject")
            //.To(new List<string>{"mail1@mail.com", "mail2@mail.com" })  - Optionally
            .To("mail@mail.com")
            .Send();
    }
}

About

.net basic fluent mail sender

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages