Page 1 of 1
Problems with SendGrid Service
Posted: Mon Feb 03, 2014 7:07 pm
by Steve Burton
When I am using the SendGrid service I receive the email with + signs in place of all spaces. Is there any way to stop this? Also is there any way to create the email body with mutliple lines of text e.g.
Data 1: localstoragevariable1
Data 2: localtsoragevariable2
Data 3: etc.
Problems with SendGrid Service
Posted: Mon Feb 03, 2014 7:17 pm
by Maryna Brodina
Hello!
[quote:]When I am using the SendGrid service I receive the email with + signs in place of all spaces. Is there any way to stop this?[/quote]It's a known problem, we're working on it. Sorry for inconvenience.
[quote:]Also is there any way to create the email body with mutliple lines of text e.g.[/quote]I'll update.
Problems with SendGrid Service
Posted: Mon Feb 03, 2014 7:37 pm
by Maryna Brodina
Try to send html instead text and form html the way you need http://sendgrid.com/docs/API_Referenc...
Problems with SendGrid Service
Posted: Wed Feb 05, 2014 12:52 am
by Alex GG
same here...this is what I got on hotmail...Hope you can fix this soon...
thanks!!
Problems with SendGrid Service
Posted: Wed Feb 05, 2014 4:49 am
by Catalyst Creations
Ive read the send grid doc, but still dont understand, would you be able to give us a quick example as I have multiple inputs for my text body - Sample code -
var To = localStorage.getItem("To");
var ToName = localStorage.getItem("ToName") + "\n";
var From = localStorage.getItem("From");
var OrderFrom = localStorage.getItem("OrderCompanyName") + "\n";
var ContactNumber = localStorage.getItem("OrderCompanyContact") + "\n";
var TextMessage = localStorage.getItem("Msg") + "\n";
var DateOrdered = localStorage.getItem("OrderDateOrdered") + "\n";
var Item1 = localStorage.getItem("Item1");
var Amount1 = localStorage.getItem("Amount1");
var Size1 = localStorage.getItem("SizeInput1") + "\n";
var Item2 = localStorage.getItem("Item2");
var Amount2 = localStorage.getItem("Amount2");
var Size2 = localStorage.getItem("SizeInput2") + "\n";
var Item3 = localStorage.getItem("Item3");
Problems with SendGrid Service
Posted: Wed Feb 05, 2014 4:33 pm
by Maryna Brodina
Hello Callum! If you need to add the next line use \n\r as a line separator (instead \n as shown in your code).
If you need to do this using html:
1) Rename request parameter text to html
2) Use < br tag if you need to add the next line. Besides that if you're going to send html instead text you can use any html formatting of email body (color highlighting, bold, italic, etc.)
Problems with SendGrid Service
Posted: Wed Feb 05, 2014 4:33 pm
by Maryna Brodina
Hello Alex! It's a known bug, should be fixed on February 11.
Problems with SendGrid Service
Posted: Tue Feb 11, 2014 2:16 pm
by Maryna Brodina
Hello! This bug should be fixed now.