Skip to content

Instantly share code, notes, and snippets.

View mvklingeren's full-sized avatar

Milco van Klingeren mvklingeren

View GitHub Profile
/**
* The MIT License (MIT)
*
* Copyright (c) 2016 by Daniel Eichhorn
* Copyright (c) 2016 by Fabrice Weinberg
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
@mvklingeren
mvklingeren / Program.cs
Created August 29, 2019 06:54
Sending a .EML file in C# using MailMessage with the SmtpClient
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net.Mail;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace MailMeml