send js function in template nodemailer code example
Example 1: how to send a command in js
<form action="">
<select name="channel">
<option value="#channel1">channel1</option>
<option value="#channel2">channel2</option>
</select>
</form>
Example 2: send data with url in php
// Send the variables myNumber=1 and myFruit="orange" to the new PHP page...
<a href="page2.php?myNumber=1&myFruit=orange">Next page</a>