Announcement

Collapse
No announcement yet.

Need javascript help

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Need javascript help

    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
    Larry
    Luce Kanun Web Design
    www.facebook.com/wajake41
    www.plus.google.com/116415026668025242914/posts?hl=en


Working...
X