Contact Us
We'd love to hear from you! Fill out the form below and we'll get back to you soon.
Plan Iconic.™
We'd love to hear from you! Fill out the form below and we'll get back to you soon.
// Google Apps Script: Contact Form Handler
function doPost(e) {
var data = e.parameter;
var name = data.name || '';
var email = data.email || '';
var phone = data.phone || '';
var query = data.query || '';
var recipient = 'lakshitsinghr@gmail.com';
var subject = 'New Contact Form Submission - JetPlannr';
var message = 'Name: ' + name + '\n' +
'Email: ' + email + '\n' +
'Phone: ' + phone + '\n' +
'Query: ' + query;
MailApp.sendEmail(recipient, subject, message);
return ContentService.createTextOutput('Success').setMimeType(ContentService.MimeType.TEXT);
}
Deploy this script as a Web App and use the deployment URL in the form's scriptURL
variable above.