Build me a Mailer which is built based on the Nodemailer module.
Budget: $30 – $250 USD
I want a Private Mailer Application for mass email campaign which is built based on the Nodemailer module. It should run on Ubuntu OS. It should have the ability to use function tags in the settings, letter and attachment.
Below is a simple example of how the Mailer settings should be
-----------------------------------------------------------
#!/usr/bin/env node
const smtp =[
{
host: "",
username: "",
password: "",
port: 587,
secure:false,
frommail : ""
},
]
// ==== ===
let setup ={
key :"",
MultipleSmtp :"ROTATE", // "ROTATE" AND "QUEUE"
mail_priority : "medium", // high , medium, low
sleep_time : 1000,// 1000 for 1 second (can setup 0)
isMultiThread :true,
howManyThread : 1, // set as you want , no limit
from_name :"",
mail_subject :"",
test_frommail : false,
frommail_filename : "frommail.txt",
replyTo :"",
email_test :false, // true, false
test_every :100,
email_destination :"",
letter :"letter.html",
encode_letter :"base64", // there are 2 options "hex" and "base64"
useAttachment : false,
encode_attachment : "base64", // there are 2 options "hex" and "base64"
mailist :"mailist.txt", // file name mailist
const attachment = [
{ // file on disk as an attachment
filename: 'ATT12345.html',
path: 'attachment.html', // stream this file
attachmentToPdf: false,
encryptAttachment: false,
},
]
const setup_time_date = {
time_zone :"America/Adak", //https://en.wikipedia.org/wiki/List_of_tz_database_time_zones -> list all of time zone in the world
timezone_name :"long", // "long" and "short"
time_format_lang :"en",
}
//generate your number random
const generate_random_number = [
{
name:"RANDNUM1",
lengt_value:1
},
{
name:"RANDNUM2",
lengt_value:2
},
{
name:"RANDNUM3",
lengt_value:3
},
{
name:"RANDNUM4",
lengt_value:4
},
{
name:"RANDNUM5",
lengt_value:5
},
]
const generate_random_string = [
{
name:"random_string_3",
lengt_value:3,
type:"UPPERCASE" // "UPPERCASE","LOWERCASE","RANDOM"
},
{
name:"random_string_4",
lengt_value:4,
type:"LOWERCASE" // "UPPERCASE","LOWERCASE","RANDOM"
},
]
const menu = {
change_ip : false,
}
module.exports = {smtp,setup, generate_random_number, generate_random_string, setup_time_date,attachment,attachment_msg,myLOGO, menu};
-----------------------------------------------------------------------------------------------------------------------------------------------
========================================================================
Here are some examples of function tags that i would like to work with the mailer;
NOTE: The function tags can be in any format, as long as they work fine.
----------------------------------------------------------------------------------------------------------------------
======= FUNCTION ON LETTER AND ATTACHMENT FILE ==========
<%= NAME %>
<%= COMPANYNAME %>
<%= EMAIL %>
<%= DOMAIN %>
<%= RANDOMIP %>
<%= HIDEEMAIL %>
<%= RANDOMCOUNTRY %>
<%= DATE %>
<%= TIME %>
<%= RANDSTRING1 %>
<%= DATETOMORROW %>
<%= RANDNUM1 %>
<%= RANDNUM2 %>
<%= RANDNUM3 %>
<%= RANDNUM4 %>
<%= RANDNUM5 %>
=================== FUNCTION SETTINGS FILE ===========
<RANDSTRING>
<COMPANYNAME>
<HIDEEMAIL>
<DOMAIN>
<NAME>
<RANDNUM1>
<RANDNUM2>
<RANDNUM3>
<RANDNUM4>
<RANDNUM5>
<RANDNUM1>
<CAPITAL_RANDSTRING1>
<CAPITAL_RANDSTRING2>
<CAPITAL_RANDSTRING3>
<CAPITAL_RANDSTRING4>
<CAPITAL_RANDSTRING5>
<LOWER_RANDSTRING1>
<LOWER_RANDSTRING2>
<LOWER_RANDSTRING3>
<LOWER_RANDSTRING4>
<LOWER_RANDSTRING5>
<RANDSTRING1>
<RANDSTRING2>
<RANDSTRING3>
<RANDSTRING4>
<RANDSTRING5>
<RANDOMCITY>
<RANDOMCOUNTRY>
<TIME>
<DATETOMORROW>
<AUTOFROMMAIL> // AUTOMATIC SET FROM MAIL FROM USERNAME SMTP
========================================================================================
Below is a simple example of how the Mailer settings should be
-----------------------------------------------------------
#!/usr/bin/env node
const smtp =[
{
host: "",
username: "",
password: "",
port: 587,
secure:false,
frommail : ""
},
]
// ==== ===
let setup ={
key :"",
MultipleSmtp :"ROTATE", // "ROTATE" AND "QUEUE"
mail_priority : "medium", // high , medium, low
sleep_time : 1000,// 1000 for 1 second (can setup 0)
isMultiThread :true,
howManyThread : 1, // set as you want , no limit
from_name :"",
mail_subject :"",
test_frommail : false,
frommail_filename : "frommail.txt",
replyTo :"",
email_test :false, // true, false
test_every :100,
email_destination :"",
letter :"letter.html",
encode_letter :"base64", // there are 2 options "hex" and "base64"
useAttachment : false,
encode_attachment : "base64", // there are 2 options "hex" and "base64"
mailist :"mailist.txt", // file name mailist
const attachment = [
{ // file on disk as an attachment
filename: 'ATT12345.html',
path: 'attachment.html', // stream this file
attachmentToPdf: false,
encryptAttachment: false,
},
]
const setup_time_date = {
time_zone :"America/Adak", //https://en.wikipedia.org/wiki/List_of_tz_database_time_zones -> list all of time zone in the world
timezone_name :"long", // "long" and "short"
time_format_lang :"en",
}
//generate your number random
const generate_random_number = [
{
name:"RANDNUM1",
lengt_value:1
},
{
name:"RANDNUM2",
lengt_value:2
},
{
name:"RANDNUM3",
lengt_value:3
},
{
name:"RANDNUM4",
lengt_value:4
},
{
name:"RANDNUM5",
lengt_value:5
},
]
const generate_random_string = [
{
name:"random_string_3",
lengt_value:3,
type:"UPPERCASE" // "UPPERCASE","LOWERCASE","RANDOM"
},
{
name:"random_string_4",
lengt_value:4,
type:"LOWERCASE" // "UPPERCASE","LOWERCASE","RANDOM"
},
]
const menu = {
change_ip : false,
}
module.exports = {smtp,setup, generate_random_number, generate_random_string, setup_time_date,attachment,attachment_msg,myLOGO, menu};
-----------------------------------------------------------------------------------------------------------------------------------------------
========================================================================
Here are some examples of function tags that i would like to work with the mailer;
NOTE: The function tags can be in any format, as long as they work fine.
----------------------------------------------------------------------------------------------------------------------
======= FUNCTION ON LETTER AND ATTACHMENT FILE ==========
<%= NAME %>
<%= COMPANYNAME %>
<%= EMAIL %>
<%= DOMAIN %>
<%= RANDOMIP %>
<%= HIDEEMAIL %>
<%= RANDOMCOUNTRY %>
<%= DATE %>
<%= TIME %>
<%= RANDSTRING1 %>
<%= DATETOMORROW %>
<%= RANDNUM1 %>
<%= RANDNUM2 %>
<%= RANDNUM3 %>
<%= RANDNUM4 %>
<%= RANDNUM5 %>
=================== FUNCTION SETTINGS FILE ===========
<RANDSTRING>
<COMPANYNAME>
<HIDEEMAIL>
<DOMAIN>
<NAME>
<RANDNUM1>
<RANDNUM2>
<RANDNUM3>
<RANDNUM4>
<RANDNUM5>
<RANDNUM1>
<CAPITAL_RANDSTRING1>
<CAPITAL_RANDSTRING2>
<CAPITAL_RANDSTRING3>
<CAPITAL_RANDSTRING4>
<CAPITAL_RANDSTRING5>
<LOWER_RANDSTRING1>
<LOWER_RANDSTRING2>
<LOWER_RANDSTRING3>
<LOWER_RANDSTRING4>
<LOWER_RANDSTRING5>
<RANDSTRING1>
<RANDSTRING2>
<RANDSTRING3>
<RANDSTRING4>
<RANDSTRING5>
<RANDOMCITY>
<RANDOMCOUNTRY>
<TIME>
<DATETOMORROW>
<AUTOFROMMAIL> // AUTOMATIC SET FROM MAIL FROM USERNAME SMTP
========================================================================================