Hi,
Currently the curl command which is getting framed by this framework is something like this
api_user=XXXXXX&api_key=XXXXXX&to[0]=sunandonline@gmail.com&to[1]=spadmanabhan@gainsight.com&to[2]= samosachat@gmail.com&toname[1]=sunand&toname[2]=sp&toname[3]=samosa&x-smtpapi={"sub":{"there":["Sunand Online","SP","Samosa Chat"]}}&subject=Hello there&text=Hi there&html=Hi there, How are you?&from=spadmanabhan@gainsight.com
This is wrong, this is getting re-ordered at the sendgrid end it sends wrong Substitution values to recipients and also sets incorrect to and toname combination
The correct one is below, we should not specify to[1] and toname[1]
api_user=XXXXXX&api_key=XXXXXX&to[]=sunandonline@gmail.com&to[]=spadmanabhan@gainsight.com&to[]= samosachat@gmail.com&toname[]=sunand&toname[]=sp&toname[]=samosa&x-smtpapi={"sub":{"there":["Sunand Online","SP","Samosa Chat"]}}&subject=Hello there&text=Hi there&html=Hi there, How are you?&from=spadmanabhan@gainsight.com
This should be fixed in buildingEmailBody.
Hi,
Currently the curl command which is getting framed by this framework is something like this
api_user=XXXXXX&api_key=XXXXXX&to[0]=sunandonline@gmail.com&to[1]=spadmanabhan@gainsight.com&to[2]= samosachat@gmail.com&toname[1]=sunand&toname[2]=sp&toname[3]=samosa&x-smtpapi={"sub":{"there":["Sunand Online","SP","Samosa Chat"]}}&subject=Hello there&text=Hi there&html=Hi there, How are you?&from=spadmanabhan@gainsight.com
This is wrong, this is getting re-ordered at the sendgrid end it sends wrong Substitution values to recipients and also sets incorrect to and toname combination
The correct one is below, we should not specify to[1] and toname[1]
api_user=XXXXXX&api_key=XXXXXX&to[]=sunandonline@gmail.com&to[]=spadmanabhan@gainsight.com&to[]= samosachat@gmail.com&toname[]=sunand&toname[]=sp&toname[]=samosa&x-smtpapi={"sub":{"there":["Sunand Online","SP","Samosa Chat"]}}&subject=Hello there&text=Hi there&html=Hi there, How are you?&from=spadmanabhan@gainsight.com
This should be fixed in buildingEmailBody.