Reply To: Pull data from form and create email

  • Michael

    Member
    July 27, 2023 at 4:54 pm
    Points: 509
    Rank: UC2 Brainery White Belt UC2 Brainery White Belt Rank

    // Assuming you have the URL that you want to hyperlink to

    const linkURL = “https://example.com”;

    // Modify the cMyMsg variable to include the hyperlink HTML

    var cMyMsg = “

    This is the email body content.

    “;

    cMyMsg += “

    Click here to visit the link.

    “;

    // Rest of your code

    var eabJobNumber = this.getField(“EAB Job Number”).value;

    var currentDocument = this.path;

    app.mailMsg({

    bUI: true,

    cTo: “address”,

    cSubject: eabJobNumber + ” Job Transmittal”,

    cMsg: cMyMsg

    });