Background process to automatically deliver mails

Author Topic
Renukadevi Shanmugasundaram
Member

Joined: 14 Jul 2006
Country: Australia
Posts: 15

Posted: 13 Oct 2006 05:29:06

Hi all,

I am new to .Net framework and ASP.Net programming. Now I have a job like this:

Application have to automatically check for certain condition( access Database table records for checking conditions) and if the condition met, have to deliver mail to mailId specified in a table (stored different mail Ids to different conditions). Regardless of any request reception server have to do this job. As a new .Net developer i know only how to use SMTPMail class and MailMessage class to send a simple mail. But i have no idea about how to make it automatically run in server.

Could any one please advice me to proceed this job?

I appreciate even a small amount information from you.

Thanks in advance.

Regards
Renu

Hi all,

I am new to .Net framework and ASP.Net programming. Now I have a job like this:

Application have to automatically check for certain condition( access Database table records for checking conditions) and if the condition met, have to deliver mail to mailId specified in a table (stored different mail Ids to different conditions). Regardless of any request reception server have to do this job. As a new .Net developer i know only how to use SMTPMail class and MailMessage class to send a simple mail. But i have no idea about how to make it automatically run in server.

Could any one please advice me to proceed this job?

I appreciate even a small amount information from you.

Thanks in advance.

Regards
Renu
Detail Oriented
Member

Joined: 27 Oct 2006
Country:
Posts: 7

Posted: 27 Oct 2006 18:23:40

If ur job of sending mails has to run regardless of a request made to the server, then why would you want to use ASP.NET...U might want to create a windows service or a sql job to send emails.....

u can use the System.Web.Mail namespace and use SMTPMail and MailMessage classes that belong to the same namesapce in the windows service.

or

Give the path of the .exe for a job on the sql server

Hope this helps!!!

Edited by - DetailOriented on 27 Oct 2006 18:29:30

If ur job of sending mails has to run regardless of a request made to the server, then why would you want to use ASP.NET...U might want to create a windows service or a sql job to send emails.....

u can use the System.Web.Mail namespace and use SMTPMail and MailMessage classes that belong to the same namesapce in the windows service.

or

Give the path of the .exe for a job on the sql server

Hope this helps!!!

Edited by - DetailOriented on 27 Oct 2006 18:29:30
Renukadevi Shanmugasundaram
Member

Joined: 14 Jul 2006
Country: Australia
Posts: 15

Posted: 30 Oct 2006 00:56:45

Thank you so much for right suggestion. Yeah! i posted the same qn in some other groups too.. and i received the same suggestion and the best too. So as per, yeah I have created a Window service to do this task and now it working alright.

Thank you so much for your time to help a fresh starters like me.

Regards
Renu

Thank you so much for right suggestion. Yeah! i posted the same qn in some other groups too.. and i received the same suggestion and the best too. So as per, yeah I have created a Window service to do this task and now it working alright.

Thank you so much for your time to help a fresh starters like me.

Regards
Renu
Rahul s
Member

Joined: 05 Jul 2007
Country: India
Posts: 1

Posted: 05 Jul 2007 12:53:43



Hi

can u please Help me in below Job u posted.I got Same Job Now
I.e
Application have to automatically check for certain condition( access Database table records for checking conditions) and if the condition met, have to deliver mail to mailId specified in a table (stored different mail Ids to different conditions). Regardless of any request reception server have to do this job. As a new .Net developer i know only how to use SMTPMail class and MailMessage class to send a simple mail. But i have no idea about how to make it automatically run in server.

Help me check for certain condition (Access Database) in the web service.

Thanks in advance.

Regards
Rahul

<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
Hi all,

I am new to .Net framework and ASP.Net programming. Now I have a job like this:

Application have to automatically check for certain condition( access Database table records for checking conditions) and if the condition met, have to deliver mail to mailId specified in a table (stored different mail Ids to different conditions). Regardless of any request reception server have to do this job. As a new .Net developer i know only how to use SMTPMail class and MailMessage class to send a simple mail. But i have no idea about how to make it automatically run in server.

Could any one please advice me to proceed this job?

I appreciate even a small amount information from you.

Thanks in advance.

Regards
Renu

<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote> <ul><li> </li><li> </li><li> </li></ul>



Hi

can u please Help me in below Job u posted.I got Same Job Now
I.e
Application have to automatically check for certain condition( access Database table records for checking conditions) and if the condition met, have to deliver mail to mailId specified in a table (stored different mail Ids to different conditions). Regardless of any request reception server have to do this job. As a new .Net developer i know only how to use SMTPMail class and MailMessage class to send a simple mail. But i have no idea about how to make it automatically run in server.

Help me check for certain condition (Access Database) in the web service.

Thanks in advance.

Regards
Rahul

<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
Hi all,

I am new to .Net framework and ASP.Net programming. Now I have a job like this:

Application have to automatically check for certain condition( access Database table records for checking conditions) and if the condition met, have to deliver mail to mailId specified in a table (stored different mail Ids to different conditions). Regardless of any request reception server have to do this job. As a new .Net developer i know only how to use SMTPMail class and MailMessage class to send a simple mail. But i have no idea about how to make it automatically run in server.

Could any one please advice me to proceed this job?

I appreciate even a small amount information from you.

Thanks in advance.

Regards
Renu

<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote> <ul><li> </li><li> </li><li> </li></ul>
Follow us on twitter Subscribe to our RSS feed
Activate your free membership today | Login | Currency