For Zoho Services only:

I'm actually part of something bigger at Ascent Business Solutions recognized as the top Zoho Premium Solutions Partner in the United Kingdom.

Ascent Business Solutions offer support for smaller technical fixes and projects for larger developments, such as migrating to a ZohoCRM.  A team rather than a one-man-band is always available to ensure seamless progress and address any concerns. You'll find our competitive support rates with flexible, no-expiration bundles at  For larger projects, check our bespoke pricing structure and receive dedicated support from our hands-on project consultants and developers at

The team I manage specializes in coding API integrations between Zoho and third-party finance/commerce suites such as Xero, Shopify, WooCommerce, and eBay; to name but a few.  Our passion lies in creating innovative solutions where others have fallen short as well as working with new businesses, new sectors, and new ideas.  Our success is measured by the growth and ROI we deliver for clients, such as transforming a garden shed hobby into a 250k monthly turnover operation or generating a +60% return in just three days after launch through online payments and a streamlined e-commerce solution, replacing a paper-based system.

If you're looking for a partner who can help you drive growth and success, we'd love to work with you.  You can reach out to us on 0121 392 8140 (UK) or  You can also visit our website at

Zoho Creator: Sendmail a list of attachments

This is a very quick article on sending an email with Deluge which needs a dynamic number of files attached to it.

This came up during a call with another developer and it occurred to me that perhaps this isn't clearly documented. But there are tips found across the web just not specifically addressing this.

Here is the code for a test function which downloads 2 files from a public domain, no user wall. The key here which the official documentation is missing is the .setParamName() but for those who have spent time to find this function, they'll already know this.

void fn_Joel_Test()
		- tried with getUrl() but this doesn't work.
		- has to be an invokeUrl
		- set param name required
		- if file comes from a Creator form, no InvokeURL needed
			c_Form = Form[ID == 1234]; 
			r_Download1 = c_Form.myFieldWithFile;
	l_Downloads = List();
	r_Download1 = invokeUrl
    	url: ""
    	type: GET
	r_Download2 = invokeUrl
    	url: ""
    	type: GET
    	from: zoho.adminuserid
    	to: "This email address is being protected from spambots. You need JavaScript enabled to view it."
    	subject: "Test File: List"
    	message: "This is just a test"
		attachments: file: l_Downloads
  1.  void fn_Joel_Test() 
  2.  { 
  3.      /*** 
  4.          - tried with getUrl() but this doesn't work. 
  5.          - has to be an invokeUrl 
  6.          - set param name required 
  7.          - if file comes from a Creator form, no invokeUrl needed 
  8.              c_Form = Form[ID == 1234]
  9.              r_Download1 = c_Form.myFieldWithFile; 
  10.      ***/ 
  11.      l_Downloads = List()
  12.      r_Download1 = invokeUrl 
  13.      [ 
  14.          url: "" 
  15.          type: GET 
  16.      ]
  17.      r_Download1.setParamName("file")
  18.      l_Downloads.add(r_Download1)
  19.      r_Download2 = invokeUrl 
  20.      [ 
  21.          url: "" 
  22.          type: GET 
  23.      ]
  24.      r_Download2.setParamName("file")
  25.      l_Downloads.add(r_Download2)
  26.      // 
  27.      sendmail 
  28.      [ 
  29.          from: zoho.adminuserid 
  30.          to: "This email address is being protected from spambots. You need JavaScript enabled to view it." 
  31.          subject: "Test file: List" 
  32.          message: "This is just a test" 
  33.          attachments: file: l_Downloads 
  34.      ] 
  35.  } 

Zoho Creator: Send mail a list of attachments: Result

Category: Zoho :: Article: 856

Credit where Credit is Due:

Feel free to copy, redistribute and share this information. All that we ask is that you attribute credit and possibly even a link back to this website as it really helps in our search engine rankings.

Disclaimer: Please note that the information provided on this website is intended for informational purposes only and does not represent a warranty. The opinions expressed are those of the author only. We recommend testing any solutions in a development environment before implementing them in production. The articles are based on our good faith efforts and were current at the time of writing, reflecting our practical experience in a commercial setting.

Thank you for visiting and, as always, we hope this website was of some use to you!

Kind Regards,

Joel Lipman

Related Articles

Joes Revolver Map


Badge - Certified Zoho Creator Associate
Badge - Certified Zoho Creator Associate

Donate & Support

If you like my content, and would like to support this sharing site, feel free to donate using a method below:

Donate to Joel Lipman via PayPal

Donate to Joel Lipman with Bitcoin bc1qf6elrdxc968h0k673l2djc9wrpazhqtxw8qqp4

Donate to Joel Lipman with Ethereum 0xb038962F3809b425D661EF5D22294Cf45E02FebF
© 2024 Joel Lipman .com. All Rights Reserved.