Skip to content

Latest commit

 

History

History
27 lines (20 loc) · 2.59 KB

README.md

File metadata and controls

27 lines (20 loc) · 2.59 KB

Massmailing_using-_CPP

Members: Vikrant Panjiyar, Jeevan Koiri and Bhupendra Chaulagain

This repo contains a simple CPP project which runs on visual studio version 2019 and is used for mass mailing with more features than any other massmailing web services to send beautiful mails that can be either html mail or plain text mail with attachments

All you have to do is

  • Download or clone this repo on your desktop or anywhere in disk and then download,install and open visual studio 2019
  • Click on Open a local folder and select cloned folder(Massmailing_using_CPP)
  • Click on File menu, select New and click on Project from existing code
  • Then a new window will be prompted click on Next, select the folder Massmsilin_using_cpp in project location and name it "abc"(anything) in Project name
  • Click on next, select Console application project in Project type, click on next,next and finally finish leaving everything as it is
  • After the projectis loaded, open "abc" on the right side of screen, click on Source Files and then finally double-click on mailing.cpp.

Please see the comments in the code for some CPP packages installment processes. Finally run it and enjoy the service.

Run ther program and provide necessary informations about your email, passwords and recipients email addresses and other contents of email body.

SMTP Behind It

Note:If you are sending html mail instead of plain text,remember that body.html in the project folder is the html body you will be sending. Either open it with notepad and paste your own html code and save it or simply delete it and paste your own html file in the folder and name it as body with extension html(i.e.body.html). And the attachments you are going to send must be in project folder i.e. everything must be in "Massmailing_using_CPP" including body.html. While entering the name of attachments use name with extension. For example: if abc is text file then type text.txt i.e. name with extension must be typed in console.

To send mails to many recipients at once, select all the email addresses from google sheet at once and paste it in "RecipientList.txt" available in project folder and save it.

And while selecting the recipients in console choose "from file".

You can also enter addreses one by one in console by selecting "from console" or write or delete addreses in recipients.txt text file through console a well.

##Reference