So how i need to modify DSSendMail part to accomplish this?
Code: Select all
......
FromID=Arg2
ToList=Arg3
..........
Mail = DSSendMail("From:"FromID"\nTo:"ToList"\nServer:b01\nSubject:\nBody:Please find the log":vEventDetail )
......................
Arg2=abc@xyz.com
Arg3=abc@tyty.com,gahghg@nhy.com
But it's not working and returning -21.
It's simply Passing FromId and ToList but not the actual values.
Please help me to pass the From and To addresses as parameters.
Thansk