Author: demondivyesh | Posted on: 4/20/2009 9:33:30 PM | Views : 268


Hello,
i m developing a reminder system for my project. in that i need to check certain conditions on a regular basis and send emails accordingly.
I m developing a console application for that, and later on i plan to schedule that .exe through windows scheduler. 
i have got a few problems
1) i m able to send a mail through my project website but if i use the same code in console application it gives me an error "The SMTP host was not specified."
 this is the code i used
 
 
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.OracleClient;
using System.Net;
using System.Net.Mail;
using System.Web;

namespace ForEmail
{
    class Program
    {
        static void Main(string[] args)
        { ...

Go to the complete details ...