Sendmail function- customise Attachments ?
Hi,
I have the following creator sendmail function working-
- sendmail
- [
- from :zoho.adminuserid
- to :EmailTo
- subject :emailSubject
- message :""
- Attachments :template:Staff_Setup_Template:Employee_Setup_Forms recordid as inline
- ]
But I want this function to work with a few more inputs. You can't actually use variables in the Sendmail function, but I have seen some people say it is possible, and I have the subject line working- it is made like this-
- emailSubject = calculatedAccountName + " " + TaskType + "-" + newEmployeeFirstName + " " + newEmployeeLastName;
But I can't get the Attachments line to work. This expression DOES produce the correct output-
- attachList = "template:" + EmailTemplate + ":" + "Employee_Setup_Forms" + " " + "recordid as inline";
but it won't save when in the Sendmail function like this-
- sendmail
- [
- from :zoho.adminuserid
- to :EmailTo
- subject :emailSubject
- message :""
- Attachments :attachList
- ]
Any ideas please?
Access your files securely from anywhere
Zoho Developer Community
Deliver unforgettable customer experiences
Deliver unforgettable customer experiences
New to Zoho Marketing Plus?
Everything you need to run your marketing
New to Zoho Marketing Plus?
Everything you need to run your marketing
Zoho Desk Resources
-
Desk Community Learning Series
-
-
-
-
-
-
-
-
-
Zoho TeamInbox Resources
Zoho DataPrep Resources
Zoho CRM Plus Resources
Zoho Books Resources
Zoho Subscriptions Resources
Zoho Projects Resources
Zoho Sprints Resources
Qntrl Resources
Zoho Creator Resources
Zoho Campaigns Resources
Zoho CRM Resources
Zoho Show Resources
Writer Get Started. Write Away!
Writer is a powerful online word processor, designed for collaborative work.