Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Email
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Email

 Post Reply Post Reply Page  12>
Author
Gullanian View Drop Down
Senior Member
Senior Member
Avatar

Joined: 04 January 2002
Location: England
Status: Offline
Points: 4373
Post Options Post Options   Thanks (0) Thanks(0)   Quote Gullanian Quote  Post ReplyReply Direct Link To This Post Topic: Email
    Posted: 21 February 2005 at 10:39am
Hi

I'm interested in writting a hotmail style system for a website, but on a smaller scale.  I have a few questions, if anyone could answer them, it would be great!  All questions relate to ASP.

How do you retrieve emails from a webserver?
How do you send emails from an email account on a webserver?
How do you create new email accounts on the server?

Any answers appreciated!

Tom

Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 21 February 2005 at 10:50am
To answer your first question you need to use an email component that has POP 3 tools. Jmail 4 pro version has this, not sure if any others support POP 3, but I'm sure there is.

The second question, any email component can be used to send emails with whatever email address you like.

Not sure about the last question as I imagine it would be quite a complex task, I would look for something that already does that.
Back to Top
Gullanian View Drop Down
Senior Member
Senior Member
Avatar

Joined: 04 January 2002
Location: England
Status: Offline
Points: 4373
Post Options Post Options   Thanks (0) Thanks(0)   Quote Gullanian Quote  Post ReplyReply Direct Link To This Post Posted: 21 February 2005 at 11:12am
Thanks for your answers!

Regarding the POP3 thing, do all webservers use POP3 accounts?  Are there any alternatives I need to build for?
Back to Top
Mart View Drop Down
Senior Member
Senior Member
Avatar

Joined: 30 November 2002
Status: Offline
Points: 2304
Post Options Post Options   Thanks (0) Thanks(0)   Quote Mart Quote  Post ReplyReply Direct Link To This Post Posted: 21 February 2005 at 11:13am
For the last  question - your POP3 server may have some open API's that you can use for setting up and managing the server
Back to Top
Gullanian View Drop Down
Senior Member
Senior Member
Avatar

Joined: 04 January 2002
Location: England
Status: Offline
Points: 4373
Post Options Post Options   Thanks (0) Thanks(0)   Quote Gullanian Quote  Post ReplyReply Direct Link To This Post Posted: 21 February 2005 at 11:17am
I think I'm going to try and build my own component to do the management of the Pop3 accounts.  I read that using P3Admin.dll and some others you can do this fairly easily, but if I created a component that used these DLL's:

    Am I allowed to sell it?
    Will it work on any windows server?
Back to Top
Phat View Drop Down
Senior Member
Senior Member


Joined: 23 February 2003
Status: Offline
Points: 386
Post Options Post Options   Thanks (0) Thanks(0)   Quote Phat Quote  Post ReplyReply Direct Link To This Post Posted: 22 February 2005 at 4:34am
Check out http://www.dart.com/samples/pop.asp

or

http://www.chilkatsoft.com/WebMail.asp


Back to Top
dpyers View Drop Down
Senior Member
Senior Member


Joined: 12 May 2003
Status: Offline
Points: 3937
Post Options Post Options   Thanks (0) Thanks(0)   Quote dpyers Quote  Post ReplyReply Direct Link To This Post Posted: 22 February 2005 at 10:40am
Assuming you're going to use only pop3 and smtp - and not imap - basically what you need to do is write services that can listen and do i/o on port 110 and 25. This is typically done by creating a dll that accesses the windows api either directly through c, c++, or .net or indirectly through vb.
 
Almost all web servers will have port 25 and/or port 2525 open for sending mail. Usually port 110 is shutdown for receiving mail as there's typically a dedicated mail server - not a web server - for that so you need to be able to support and query pop3 on a remote machine instead of monitoring port 110 locally.
 
Sending mail is something that's pretty common and you can use cdo or cdonts examples found almost everywhere without needing to create a dll. If you want to handle send errors/kickbacks or maintain a "sent mai"l folder though, you may need your own smtp dll.
 
A pop3 receive mail component is not terribly hard to write if port 110 is open. Basically you listen on the port and stream all traffic to a data handler. The RFC is pretty good for documenting the things you need to look for in the steram. The difficulty with the app comes in managing and displaying the received mail.
 
The windows api's for pop and smtp haven't changed substantially in a long time so older vb examples using the win32 api should work for creating a dll.
 
For an example of the pop3 admin and display stuff you'd need to handle, check out JMailBox which uses the JMail component.

Lead me not into temptation... I know the short cut, follow me.
Back to Top
Mart View Drop Down
Senior Member
Senior Member
Avatar

Joined: 30 November 2002
Status: Offline
Points: 2304
Post Options Post Options   Thanks (0) Thanks(0)   Quote Mart Quote  Post ReplyReply Direct Link To This Post Posted: 22 February 2005 at 11:16am
I have a webmail app lying around somewhere wrote in C#.NET... would you like the source?
Back to Top
 Post Reply Post Reply Page  12>

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.