Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
send Email with Indy component
#3
Hi Michael, it is better that each session manages its own Object instances, so for that reason it is better for you to put the components in the UserSession, or a good practice is in another Datamodule, named for example: EMailController, that can be instantiated from the UserSession. This is to keep the UserSession DataModule cleaner, and not to instantiate objects if they will not always be used.


Messages In This Thread
send Email with Indy component - by mikel.pahl - 04-05-2018, 08:06 PM
RE: send Email with Indy component - by kudzu - 04-06-2018, 08:33 PM
RE: send Email with Indy component - by fduenas - 07-24-2018, 06:40 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)