[Gambas-user] Using SmtpClient attachments in a loop

Ivan Williams ivanwms64 at yahoo.com
Sun Dec 8 17:35:41 CET 2019


Thank You Sir
I truly appreciate the modification.


>> Clearing a string variable by setting it to an empty string does work. I 
>> don't see where you tried to clear it. What I see is that you reload it 
>> from the file every time your loop executes.
>
>Hi,
>
>I have just updated SmtpClient so that it can be reusable (it wasn't!), 
>and added a Clear() method to clear all the attachments.
>
>Regards,
>
>-- 
>Beno?t Minisini




 

Ivan    \~/


 

I never saw a wild thing sorry for itself.
A small bird will drop frozen dead from a bough
Without ever having felt sorry for itself.
-- D.H. Lawrence





http://www.usconstitution.net/const.html


Linux - Live Free or Die.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gambas-basic.org/pipermail/user/attachments/20191208/c6675806/attachment.html>


More information about the User mailing list