Free mass email sender

Spread the love

Mass email marketing is the practice of creating a single message for a large group of subscribers. These days, and in order to make a mail campaign, you need to pay lot of money. In this post I will show you how to create your own Free mass email sender software, a free bulk email sender that allow you to reach your clients and visitors easily and to send unlimited bulk email free without paying a penny.

Create your own free mass email software

In this post I will show you how to send unlimited bulk email free, by creating your own free bulk email software.

First open Visual Studio 2019. Add a new project, you can create windows app, Api app, or simple console application. I will choose to create a console app, choose c# as programming language.

Install the MailKit plugin.

Mailkit

Create a class file named “MassMail

Class content:

using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using MailKit.Net.Smtp;
using MimeKit;

namespace ConsoleApp1
{
    public class MassMail
    {
        public static bool Send()
        {
            SmtpClient client = new SmtpClient();
            client.Timeout = 3000;
            client.AuthenticationMechanisms.Remove("XUAUTH2");
            BodyBuilder bodyBuilder = new BodyBuilder();
            bodyBuilder.HtmlBody = File.ReadAllText("Template.html");
            MimeMessage mail = new MimeMessage();
            mail.Subject = "My first subject";
            mail.Body = bodyBuilder.ToMessageBody();

            client.Connect("smtp.ifastnet.com", 257);
            client.Authenticate("[email protected]","JoeAdmin11");

            foreach(string email in File.ReadLines("email.txt"))
            {
                mail.From.Add(new MailboxAddress("Rpc Technology", "[email protected]"));
                mail.Bcc.Add(new MailboxAddress("", email));
                try
                {
                    client.Send(mail);
                    Console.WriteLine($"Email {mail} sent successfully");
                    Thread.Sleep(5000);
                }
                catch(Exception ex)
                {
                    Console.WriteLine($"Email {mail} failed to send");
                }
            }

            client.Disconnect(true);
            return true;

        }
    }
}

In MassMail.cs, I instantiated a Mailkit SmtpClient object. I initialized the Bodybuilder in order to set the html body. Then, I defined the From and To mail parameters. And after that I iterated through the mailing list emails and send mail to each recipient.

Create an html template “template.html

<!DOCTYPE html>

<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="utf-8" />
    <title></title>
</head>
<body>
    <table>
        <tr>
            <td>
                Simple Template
            </td>
        </tr>
    </table>
</body>
</html>

Create your mailing list “emails.txt”

[email protected]
[email protected]
[email protected]

Now from the main program call the class function as folllow:

MassMail.Send();

For any help please contact us

Check our Free mass email sender video on YouTube

https://www.RpcHost.com

Rpc Technology