How to send mail automatically.
-
Hi , I am make simple application that send mail automatically after ending week .... so i don't know where i write my code ... what i do i am write my code in button and when i click on button , message sent to all members but i want this done automatically without admin clicks ... just sets date and message sent .
-
Hi , I am make simple application that send mail automatically after ending week .... so i don't know where i write my code ... what i do i am write my code in button and when i click on button , message sent to all members but i want this done automatically without admin clicks ... just sets date and message sent .
You want a Windows Service. Make a Windows Service and just deploy it on a server. It's just that you need to connect to the same database that your application is connecting. It's the database content or configuration settings done in Windows Service that will act a trigger for emails and not application. You need to communicate with DB using same connection string as you used in your application for saving/reading data. There will be no manual steps involved. You will be able send email automatically every week.
-
Hi , I am make simple application that send mail automatically after ending week .... so i don't know where i write my code ... what i do i am write my code in button and when i click on button , message sent to all members but i want this done automatically without admin clicks ... just sets date and message sent .
you need to create a windows service and deploy it to the server once done you can schedule this windows service to send mails as per your requirments
Regards, Jamil Check my latest article
-
Hi , I am make simple application that send mail automatically after ending week .... so i don't know where i write my code ... what i do i am write my code in button and when i click on button , message sent to all members but i want this done automatically without admin clicks ... just sets date and message sent .
You can solve your issue by using two methods. 1> you have to create window service, deploy it and install it on server 2> you have to create SQL Job n upload it on server Hope this solution will help you
-
You can solve your issue by using two methods. 1> you have to create window service, deploy it and install it on server 2> you have to create SQL Job n upload it on server Hope this solution will help you
Can I find any sample ?
-
Can I find any sample ?