ut-port-mail v8.6.4
Mail port: ut-port-mail
The purpose of this port is for sending mails from remote/local servers.
In the UT5 implementations the Mail port is initialized in the following manner:
module.exports = {
id: 'mail',
type: 'mail',
logLevel: 'trace',
url: 'smtp://127.0.0.1:1234',
service: false,
//setting that came from node mailer module, they are directly applied
settings: {},
ssl: false,
receive: function(msg) {
return msg;
},
send: function(msg) {
return msg;
}
}
all of the properties that can be set can be seen in the Nodemailer github page.
Gmail example
module.exports = {
id: 'mail',
type: 'mail',
logLevel: 'trace',
url: 'smtp://smtp.gmail.com',
service: 'gmail',
settings: {
auth: {
user: 'user',
pass: 'pass'
}
},//setting that came from node mailer module, they are directly applied
ssl: false,
receive: function(msg) {
return msg;
},
send: function(msg) {
return msg;
}
}
1 year ago
2 years ago
2 years ago
3 years ago
3 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
8 years ago
8 years ago
8 years ago
8 years ago