Sendmail from Zoho CRM Custom Function

Sendmail from Zoho CRM Custom Function

Hello,

Think I found a possible bug using the sendmail function in Zoho CRM. The following works fine when testing.

sendmail
[
from :zoho.adminuserid
subject :"New Lead Assigned to you."
message :"Dear Joe,<div><br></div><div>A New lead has been assigned to you. Please call and update as soon as you can.</div><div><br></div><div><br></div><div>Name: "+input.Bconnected_Name+"</div><div>Phone: "+input.Bconnected_Phone+"</div><div>Address: "+input.Bconnected_Address+"</div><div>City: "+input.Bconnected_City+"</div><div>State: "+input.Bconnected_State+"</div><div><br></div><div><a target='_blank' href=' https://crm.zoho.com/crm/org51099369/tab/CustomModule11/\" + Bconnected_ID + \"'>Click here to update the lead in Zoho.</a></div><div><br></div><div><br></div>"
]

During testing this works fine and displays the record correctly.
However, when you save the function and reopen. The "Message" has changed to the following:

sendmail
[
from :zoho.adminuserid
subject :"New Lead Assigned to you."
message :"Dear Joe,<div><br></div><div>A New lead has been assigned to you. Please call and update as soon as you can.</div><div><br></div><div><br></div><div>Name: " + Bconnected_Name + "</div><div>Phone: " + Bconnected_Phone + "</div><div>Address: " + Bconnected_Address + "</div><div>City: " + Bconnected_City + "</div><div>State: " + Bconnected_State + "</div><div><br></div><div><a target='_blank' href=' https://crm.zoho.com/crm/org51099369/tab/CustomModule11/\" + Bconnected_ID + \"'>Click here to update the lead in Zoho.</a></div><div><br></div><div><br></div>"
]

Basically it no longer pulls in the inputs and just displays Bconnected as the result for each field.

Suggestions?