I am making an application with angularjs and I have a form of contact with name, email, phone and message.
I need the contents of this form to go to the client's email and I'm trying to use the nodemailer but I'm not sure.
I created a s...
I configured my nodemailer as follows
let transporter = nodemailer.createTransport({
port: 465,
host: 'host do cpanel',
auth: {
user: '[email protected]',
pass: 'minhaSenha'
}
});...
I created the following Model with Nodejs:
'use strict'
function UserDAO(model) {
this.model = model;
}
UserDAO.prototype.email = function(callback) {
//TESTE de email
var filePath = 'services/content/test.html';
var fs = require('fs');...
I have been breaking head for some time trying to create a page of contacts where the user through the page can send an email. I am new with node and so I have had some problems. At the moment I can not get my application to recognize nodemailer...