I;m trying to use this javascript function to send an email from my OCST page:
function sendEmail(to, subject, body) {
Email.send({
Host: "smtp.orange-trafic-cones.com",
Username: "[email protected]",
Password: "your-email-password",
To: to,
From: "[email protected]",
Subject: subject,
Body: body,
})
.then(function (message) {
alert("Mail sent successfully");
});
}
I don't understand what the values in these statements should be:
Host: "smtp.orange-trafic-cones.com",
Username: "[email protected]",
Password: "your-email-password",
Would appreciate any help given.
Larry
function sendEmail(to, subject, body) {
Email.send({
Host: "smtp.orange-trafic-cones.com",
Username: "[email protected]",
Password: "your-email-password",
To: to,
From: "[email protected]",
Subject: subject,
Body: body,
})
.then(function (message) {
alert("Mail sent successfully");
});
}
I don't understand what the values in these statements should be:
Host: "smtp.orange-trafic-cones.com",
Username: "[email protected]",
Password: "your-email-password",
Would appreciate any help given.
Larry