Hi
I have seen a post to send concatenated values from local storage as one mapping to the sendgrid message mapping.
This is all good but how would I send a grid with content formatted as an invoice? Is this possible?
Thank you
Hi
I have seen a post to send concatenated values from local storage as one mapping to the sendgrid message mapping.
This is all good but how would I send a grid with content formatted as an invoice? Is this possible?
Thank you
I believe SendGrid allows to send HTML emails.. check their APIs.
Hi Deon,
hope you don't mind me asking, did you manage to send you concatenated values or HTML with sendgrid.
cheers
Hi Michael
No unfortunately I have been under pressure to get the app out and I ended up concatenating the values of my Stored variables and page components.
This is not ideal but was a quick alternative.
var str1 = "New Reservation Enquiry from - Name: ";
var n = str1.concat(localStorage.getItem("Name"), ', Surname: ', localStorage.getItem("Surname"), ', Phone: ', localStorage.getItem("Mobile"),', Email: ', localStorage.getItem("Email"),' Arrival: ', Appery("R_Date").getAttr("defaultDateValue"), ' Nights: ', Appery('R_Nights').val(), ' Rooms: ', Appery('R_Rooms').val(), ' Adults: ', Appery('R_Adults').val(), ' Children: ', Appery('R_Children').val());
localStorage.setItem('txtMessage', n);
Sorry I could not be of more help. I will have to explore the HTML route at some stage and will update this thread if successful.
Thanks Deon for the reply and code, I have a question on sendgrid support, it will take about a week to be answered, if I get anything good I will post here
cheers
Hi Michael
Thanks a lot. Appreciate it.
Rgds
Hi Michael,
Any luck sending HTML formatted email using sendgrid?
Hi Calvin,
no, I did not get a response from sendgrid support,
I used localstorage variables to construct the message I required.
Hi Michael,
Thank you for your quick response.