Click here to Skip to main content
16,016,168 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi All,

how to send email automatically using Web application and windows scheduler. The Windows scheduler automatically executes your file and sends mail to customer without any manual operation.


And also let me know how to send the same design as mail i.e. if the text in textbox is Green..i need to get the mail with the same color.How can i do it?

Thanks,
Prathap.
Posted
Comments
Zoltán Zörgő 15-Sep-12 4:53am    
Any progress?

Please refer CP Similar answers[^]
 
Share this answer
 
You can start technically any program with the scheduler. But I suppose, you don't want to add one by one self-sending mailer applications to it from your asp.net code. I suppose you need something you can pass your mails, and that application would send it for you. Please see my article: Using MSMQ in mail relay[^], you can use the library provided from any .net language (you have not told us which one you use), and you can see an example there how to add html body (that is how you can make your mail styled) or even attachment.
If you want to schedule the messages by default to a later point of time, you should modify the QueueMessage method, to accept a timestamp and use that in constructing the message.Extension field instead of the current timestamp.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900