- Sathishkumar S
- PowerBuilder
- Monday, 9 October 2023 04:13 PM UTC
Hi All,
In PowerBuilder 2022 R2 2819, I am using SMTPclient which I declared and created as instance using sendsync method.
I am sending multiple emails at a time to different recipients with different attachments but what is happening is, the functions like AddRecipient, AddCc, AddBcc and AddAttachment are getting appended instead of having the latest details
I want to clear the existing ones before adding the new ones AddRecipient, AddCc, AddBcc and AddAttachment.
I am not able to see any specific functions like clear/remove the values. The only option possibility i found is to have it as a local SMTPclient then create it later destroy end of the script.
Is there any other way to handle it?
Thanks in advance
Regards
Sathishkumar
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.