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
Thank you, yes this is what I am looking for.
Regards
Sathishkumar