Hi all,
I want to create a custom action in our team management report where we can send an automated email to selected team records (checkboxes). The addresses in the email value fields are correct but I keep getting this "
no valid mail id found in to address Line:(0)" error.
I am using the following code for my custom action (where toaddress refers to the correct eMail field):
- void sendnotification(string toaddress)
- {
- sendmail
- [
- from :zoho.adminuserid
- to :toaddress
- subject :"Test Mail"
- message :"Lorem Ipsum"
- ]
- }
Does anyone know what I am doing wrong here?
Thank you!