How to send many emails via ASP.NET without delaying response -
following specific action user takes on website, number of messages must sent different emails. possible have separate thread or worker take care of sending multiple emails avoid having response server take while return if there lot of emails send?
i avoid using system process or scheduled tasks, email queues.
you can spawn off background thread in controller handle emails asynchronously.
i know want avoid queues, thing have done in past written windows service pulls email db queue , processes @ intervals. way can separate 2 applications if there lot of email sent.
Comments
Post a Comment