943,685 Members | Top Members by Rank

Ad:
  • VB.NET Discussion Thread
  • Unsolved
  • Views: 2481
  • VB.NET RSS
You are currently viewing page 1 of this multi-page discussion thread
Aug 3rd, 2009
0

Receive Email in vb.net 2005

Expand Post »
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
Similar Threads
Reputation Points: 10
Solved Threads: 0
Light Poster
milhero is offline Offline
31 posts
since Jul 2009
Aug 3rd, 2009
0

Re: Receive Email in vb.net 2005

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
Reputation Points: 218
Solved Threads: 201
Veteran Poster
Teme64 is offline Offline
1,024 posts
since Aug 2008
Aug 3rd, 2009
0

Re: Receive Email in vb.net 2005

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?
Featured Poster
Reputation Points: 1749
Solved Threads: 735
Senior Poster
sknake is offline Offline
3,948 posts
since Feb 2009
Aug 3rd, 2009
0

Re: Receive Email in vb.net 2005

Click to Expand / Collapse  Quote originally posted by sknake ...
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.
Reputation Points: 10
Solved Threads: 0
Light Poster
milhero is offline Offline
31 posts
since Jul 2009
Aug 3rd, 2009
0

Re: Receive Email in vb.net 2005

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
Featured Poster
Reputation Points: 1749
Solved Threads: 735
Senior Poster
sknake is offline Offline
3,948 posts
since Feb 2009
Aug 3rd, 2009
0

Re: Receive Email in vb.net 2005

Click to Expand / Collapse  Quote originally posted by sknake ...
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?
Reputation Points: 10
Solved Threads: 0
Light Poster
milhero is offline Offline
31 posts
since Jul 2009
Aug 3rd, 2009
0

Re: Receive Email in vb.net 2005

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.
Featured Poster
Reputation Points: 1749
Solved Threads: 735
Senior Poster
sknake is offline Offline
3,948 posts
since Feb 2009
Aug 3rd, 2009
0

Re: Receive Email in vb.net 2005

Click to Expand / Collapse  Quote originally posted by sknake ...
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?
Reputation Points: 10
Solved Threads: 0
Light Poster
milhero is offline Offline
31 posts
since Jul 2009
Aug 3rd, 2009
0

Re: Receive Email in vb.net 2005

That depends on what mailserver you decide to use....
Featured Poster
Reputation Points: 1749
Solved Threads: 735
Senior Poster
sknake is offline Offline
3,948 posts
since Feb 2009
Aug 4th, 2009
0

Re: Receive Email in vb.net 2005

Click to Expand / Collapse  Quote originally posted by sknake ...
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.
Reputation Points: 10
Solved Threads: 0
Light Poster
milhero is offline Offline
31 posts
since Jul 2009

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in VB.NET Forum Timeline: Problem overriding the DropDownList Control
Next Thread in VB.NET Forum Timeline: RunPE in VB.NET?





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC