i am creating new thing in asp.net need logic i am developing one back end system where i can store my Gmail's email or any other email where i need to ad incoming and out going server detail like pop and smtp and all email come on my sytem you can say i need to setup small part of outlook express in webbase how can i do this ? i am using asp.net so please give me logic as per this
Look for the system.net.mail namespace, it has everything you need. MailMessage mMailMessage = new MailMessage(); would be a constructor. http://msdn.microsoft.com/en-us/library/system.net.mail.mailmessage.aspx
Yes, I have a mail sender in C# that can be retrieved here http://codepaste.net/izzwpi the current config is for godaddy but can easily be changed. The usage would be like this and can be used from anything making a web request, I've used it in winform, silverlight, flash asp.net pages etc. http://yoursite.com/Handler.ashx?fr...ite.com&sub=TheSubject&body=TheUrlEncodedBody