mailer.sendMail(email,'Your Sales Order'+
'Hi '+name+',<br><br>we have received your sales order '+
'and will be processing your order very soon.<br><br>'+
'You can see your order details at https://www.ragic.com/example/1<br><br>'+
'Thanks.<br><br><br>Best Regards,<br><br>Sophia, Sales Manager<br><br>www.ragic.com');
If you're sending e-mail to multiple recipients, just separate each e-mail addresses with commas.
As you can see in the e-mail example above, you can use HTML tags to format your e-mail. The e-mail being sent is in HTML format, so basically all HTML tags would work. You can also add your form entries as an attachment within the e-mail by appending the URL of the record as an extra parameter.
You can follow this format: