Receive Email in vb.net 2005

Please support our VB.NET advertiser: Intel Parallel Studio Home
Reply

Join Date: Jul 2009
Posts: 30
Reputation: milhero is an unknown quantity at this point 
Solved Threads: 0
milhero milhero is offline Offline
Light Poster

Receive Email in vb.net 2005

 
0
  #1
Aug 3rd, 2009
Hi Professionals,

I am currently working on a mass emailing system. I am using Microsoft Visual Studio 2005. With windows IIS in Windows XP SP3. My program can send mass emails using System.Net.Mail namespace found in .NET 2.0 but i have no idea on how to implement the receiving emails part.

Any advice, links, hints, tips, etc would be greatly appreciated.

Please accept my gratitude in advance.

Best Regards,
Md Azmil
Reply With Quote Quick reply to this message  
Join Date: Aug 2008
Posts: 710
Reputation: Teme64 will become famous soon enough Teme64 will become famous soon enough 
Solved Threads: 114
Teme64's Avatar
Teme64 Teme64 is offline Offline
Master Poster

Re: Receive Email in vb.net 2005

 
0
  #2
Aug 3rd, 2009
Common way to receive email is a POP3 server. .NET doesn't provide a built-in POP3 server so you'll have to write one of your own or get a third-party POP3 server. To get you started, try googling http://www.google.com/search?q=vb.net+pop3+server.

HTH

P.s. I hope I don't help to build yet another spamming site
Reply With Quote Quick reply to this message  
Join Date: Feb 2009
Posts: 3,200
Reputation: sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of 
Solved Threads: 571
Sponsor
sknake's Avatar
sknake sknake is offline Offline
.NET Enthusiast

Re: Receive Email in vb.net 2005

 
0
  #3
Aug 3rd, 2009
Are you trying to write a mailserver from the ground up to listen on port 25 and accept inbound mail messages from remote MTAs, or are you wanting to use a POP3/IMAP/Exchange connection to download your email from your mailserver?
Scott Knake
Custom Software Development
Apex Software, Inc.
Reply With Quote Quick reply to this message  
Join Date: Jul 2009
Posts: 30
Reputation: milhero is an unknown quantity at this point 
Solved Threads: 0
milhero milhero is offline Offline
Light Poster

Re: Receive Email in vb.net 2005

 
0
  #4
Aug 3rd, 2009
Originally Posted by sknake View Post
Are you trying to write a mailserver from the ground up to listen on port 25 and accept inbound mail messages from remote MTAs, or are you wanting to use a POP3/IMAP/Exchange connection to download your email from your mailserver?
I am not sure if either one is the one I want. But what I sure of is I'm working on a mass email system for my school project. I am using Microsot Visual Studio 2005, IIS and Microsoft SQL Server 2005. I am also using vb.net as my language and doing it in windows form.

I am able to send email using the System.Net.Mail namespace. But i am not sure what to use to program my system to display and receive emails.

Please advice.
Reply With Quote Quick reply to this message  
Join Date: Feb 2009
Posts: 3,200
Reputation: sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of 
Solved Threads: 571
Sponsor
sknake's Avatar
sknake sknake is offline Offline
.NET Enthusiast

Re: Receive Email in vb.net 2005

 
0
  #5
Aug 3rd, 2009
I think you have a fundamental misconception of how email works. Just because you sent an email doesn't mean you have to listen for it. Spammers send email all the time from fictitious addresses and never listen for responses.

In order to send email you need to do one of two things:
1) Create your own mailserver listening on port :25 for inbound email.
2) Connection to an existing mailserver (Your school's, ISPS, etc)

Everything falls under one of those two options
Scott Knake
Custom Software Development
Apex Software, Inc.
Reply With Quote Quick reply to this message  
Join Date: Jul 2009
Posts: 30
Reputation: milhero is an unknown quantity at this point 
Solved Threads: 0
milhero milhero is offline Offline
Light Poster

Re: Receive Email in vb.net 2005

 
0
  #6
Aug 3rd, 2009
Originally Posted by sknake View Post
Just because you sent an email doesn't mean you have to listen for it. Spammers send email all the time from fictitious addresses and never listen for responses.

In order to send email you need to do one of two things:
1) Create your own mailserver listening on port :25 for inbound email.

Firstly, I agree on the "Just because you sent an email doesn't mean you have to listen for it" but my project requires me to capture received emails. Secondly, I am not a spammer. And third, can the first option "1) Create your own mailserver listening on port :25 for inbound email." be used to capture receive emails?
Reply With Quote Quick reply to this message  
Join Date: Feb 2009
Posts: 3,200
Reputation: sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of 
Solved Threads: 571
Sponsor
sknake's Avatar
sknake sknake is offline Offline
.NET Enthusiast

Re: Receive Email in vb.net 2005

 
0
  #7
Aug 3rd, 2009
Yes it can but you're probably looking at a few months worth of development to get your first version of a mailserver live. I would highly suggest using an existing mailserver and querying it for messages with POP3/Image/Exchange.
Scott Knake
Custom Software Development
Apex Software, Inc.
Reply With Quote Quick reply to this message  
Join Date: Jul 2009
Posts: 30
Reputation: milhero is an unknown quantity at this point 
Solved Threads: 0
milhero milhero is offline Offline
Light Poster

Re: Receive Email in vb.net 2005

 
0
  #8
Aug 3rd, 2009
Originally Posted by sknake View Post
Yes it can but you're probably looking at a few months worth of development to get your first version of a mailserver live. I would highly suggest using an existing mailserver and querying it for messages with POP3/Image/Exchange.

Is the mail server free?
Reply With Quote Quick reply to this message  
Join Date: Feb 2009
Posts: 3,200
Reputation: sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of 
Solved Threads: 571
Sponsor
sknake's Avatar
sknake sknake is offline Offline
.NET Enthusiast

Re: Receive Email in vb.net 2005

 
0
  #9
Aug 3rd, 2009
That depends on what mailserver you decide to use....
Scott Knake
Custom Software Development
Apex Software, Inc.
Reply With Quote Quick reply to this message  
Join Date: Jul 2009
Posts: 30
Reputation: milhero is an unknown quantity at this point 
Solved Threads: 0
milhero milhero is offline Offline
Light Poster

Re: Receive Email in vb.net 2005

 
0
  #10
Aug 4th, 2009
Originally Posted by sknake View Post
That depends on what mailserver you decide to use....
Ok. But is there any open source(free) or windows XP integrated mailserver that i can use?

Please advise.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC