Tip 12: How can you customize the display name while sending emails from Zoho Creator.

Tip 12: How can you customize the display name while sending emails from Zoho Creator.



Hi folks,

Usually when you send emails to your users, the display name defaults as your From email address. Most often, you would like to set a custom display name to represent your organization or the context of the email. You can mask or customize the display name (From Address) using Deluge script as long as the From email address has been verified. This would be very useful to you if you want to send bulk emails to a large audience. 
 
Let's say you have a Student Registration form for your dance academy. Assume your form has the following fields:

  • Student Name (Single Line Field)
  • Email Address (Email Field)
  • Are you a new student? (Decision box field which is updated as true using On Success Script whenever a new student registers)


You can use the below-given function to send welcome emails(in bulk) to all the new students informing them about their classes. 

Note: This below-given script would be supported only in the free-flow scripting mode.

Sample syntax : “Display-name <"+ zoho.adminuserid or zoho.loginuserid +”>".

  1. void sendemailtonewstudents()
  2. {
  3. for each rec in Student_Registration_Form[Are_you_a_new_student == true]
  4. {
  5. sendmail
  6. [
  7. from :"Welcome to Karen's Dance Academy <" + zoho.adminuserid + ">"
  8. to :rec.Email
  9. subject :"Karen's Academy Welcomes You."
  10. message :"Hello,<div style=\"\"></div><style>\nnp.p1 {\n margin: 0px 0px 0px 0px;\n font: 12px \"Helvetica Neue\";\n color: rgb(69, 69, 69)\n}\nnp.p2 {\n margin: 0px 0px 0px 0px;\n font: 12px \"Helvetica Neue\";\n color: rgb(69, 69, 69);\n min-height: 14px\n}\n</style><div><br /></div><div>Welcome to Karen's class!</div><div><br /></div><div>Happy to have you on-board. Click here to find out more about your classes.</div><div><br /></div><div>Regards,</div><div>Karen.</div>"
  11. content type :HTML
  12. ]
  13. }
  14. }



Here's how the display name would look in your welcome email:


 


If you have any doubts or queries regarding this tip, please feel free to add them as comments below. We would be happy to address them all.









      Zoho Campaigns Resources


        • Desk Community Learning Series


        • Digest


        • Functions


        • Meetups


        • Kbase


        • Resources


        • Glossary


        • Desk Marketplace


        • MVP Corner


        • Word of the Day


        • Ask the Experts


          Zoho CRM Plus Resources

            Zoho Books Resources


              Zoho Subscriptions Resources

                Zoho Projects Resources


                  Zoho Sprints Resources


                    Zoho Orchestly Resources


                      Zoho Creator Resources


                        Zoho WorkDrive Resources



                          Zoho CRM Resources

                          • CRM Community Learning Series

                            CRM Community Learning Series


                          • Tips

                            Tips

                          • Functions

                            Functions

                          • Meetups

                            Meetups

                          • Kbase

                            Kbase

                          • Resources

                            Resources

                          • Digest

                            Digest

                          • CRM Marketplace

                            CRM Marketplace

                          • MVP Corner

                            MVP Corner




                            Zoho Writer Writer

                            Get Started. Write Away!

                            Writer is a powerful online word processor, designed for collaborative work.

                              Zoho CRM コンテンツ






                                ご検討中の方