Link to home
Create AccountLog in
Avatar of Sudhanshum
Sudhanshum

asked on

Send Email Automatically in 24 hours through Vb.Net web application

Hi i have .net application and I am maintaining Logs,What I want is I want to email log details every day automatically in 24 hours.How it will be possible in Asp.net Vb.I am using smtp to send mail manually by clicking on button But i want to make that automatic.
Avatar of Éric Moreau
Éric Moreau
Flag of Canada image

Write another (non web - maybe console or WinForms) application that you will run on the server from the Windows Tasks Scheduler. Web apps are not built to run things at intervals!
Avatar of Sudhanshum
Sudhanshum

ASKER

Which one will be better,Windows application or windows service? Please let me know.
ASKER CERTIFIED SOLUTION
Avatar of Éric Moreau
Éric Moreau
Flag of Canada image

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account