Smtp/Pop3 component Attachments managment (General questions)
Hi !
Recently bought the smtp and the pop3 components, which are the best on the market now! and that is after a long and painful survey ..
anyway got a slight problem with the attachments/messages, it seems that there is no way to clear a message, remove attachments, nor there is any way of accessing the names of the file attached to a message ... or am I WRONGG?
so please help me before I have to reconstruct the app
thanks
Re: Smtp/Pop3 component Attachments managment
Rubi,
I'm not sure I fully understand the problem. Can you explain it better?
wodSmtp cannot access attachments, since those properties are sort of write only . So, I guess we talk here about wodPop3, don't we?
Re: Smtp/Pop3 component Attachments managment
Hi
Thanks for the quick reply!
But why write only 'Attachment property'?
It could be realy handy if I was to access the list of files attached to a message without having to remember myself what files were actualy attached
After getting a connect I am sending a bunch of files from a folder, which I intend to delete afterwards, when the message was sent ... if I cannot access the names of the files attached I would have to create my own array side by side to the wodSmtp object, and it's not the best practice.
I hope one day you were to fix this ..
Re: Smtp/Pop3 component Attachments managment
Rubi,
well, this is just a matter of opinion I think. You could completely destroy wodSmtp after you send the message, and then recreate it and add only required attachments.