Đã Đóng

Build me a Mailer which is built based on the Nodemailer module.

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 : "[login to view URL]",

replyTo :"",

email_test :false, // true, false

test_every :100,

email_destination :"",

letter :"[login to view URL]",

encode_letter :"base64", // there are 2 options "hex" and "base64"

useAttachment : false,

encode_attachment : "base64", // there are 2 options "hex" and "base64"

mailist :"[login to view URL]", // file name mailist

const attachment = [

{ // file on disk as an attachment

filename: '[login to view URL]',

path: '[login to view URL]', // stream this file

attachmentToPdf: false,

encryptAttachment: false,

},

]

const setup_time_date = {

time_zone :"America/Adak", //[login to view URL] -> 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,

}

[login to view URL] = {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

========================================================================================

Kĩ năng: Node.js, Nest.js, JavaScript, Typescript, Shell Script

Về khách hàng:
( 1 Nhận xét ) Penfield, United States

ID dự án: #33757184