I have a subform with name Photos and a subform upload field with name Camera_Photos.
I would like when someone adds photos in these subform then to send these photos as attachments in an email using the sendmail function
Does anyone know how can i do it? For example if we add 2 photos in the subform upload field then these photos to be sent as Email attachments.
The sendmail should be something like
sendmail
[
from: zoho.adminuserid
to: candidate_email
subject: "Subject Text"
message: "We welcome you aboard. Here's wishing you a great career with us."
Attachments :file: fileResp, file: fileResp2
]
but I do not know how to write the loop inside the Attachments option
I think it is something with the collection variable in a subform. Something like file:<collection_variable1>.<file_upload_field>...