Email notification on success

Email notification on success

Hello,

 

I would like to send an email notification for the Sales Person Assigned, once a new Quote Request is submitted.

The email notification would be with the Customer Name, Project Name, Job Type, Additional Information data, as well as link to the relevant record view in the App.

 

I tried to wrote a script on the New_Quote_Request Form Actions > On Add > On Success:

 

quoteURL = " https://creator.zoho.com " + zoho.appuri + "#View:All_Quote_Requests?quoteRecId=" + Quote_No.ID

 

sendmail

        (

            To       :  input.sales_person_assigned

            From     :  zoho.adminuserid

            Subject  :  "Quote Request (" + input.Quote_No + ") for you is created"

            Message  :  "Hi,<br> <br> The Quote Request " + input.Quote_No + ", Project Name " + input.Project_Name + ", Job Type " + input.Project_Name + " from " + input.Customer_Name + ". Additional Information Data: " + input.Additional_Information_Data + ". You can view your Quote Request by access this <a href='" + quoteUrl + "'>Quote link.</a><br> <br> Thanks!"

        )

 

But it doesn’t work!

Please help.

Thank you