关于如何开发类似gmail的邮件应用程序? [英] About how to develope a mail application like gmail?

查看:92
本文介绍了关于如何开发类似gmail的邮件应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,所有专家,
我是BCA的学生,是该领域的新手,正在从事该项目.
先生首先告诉我,如果我通过在一台PC上将一台PC用作服务器,而其他PC则是客户端,则在局域网中使用我的应用程序是不可能的. 要拥有一个可以像现实世界中的邮件应用程序一样使用的邮件应用程序?

Hello all the experts,
i am a student of BCA and new to this field and working on the project.
sir first of all tell me that if i use my app in LAN by making one PC a server and others are clients than is it possible
to have a mail app which can be used just like real world mail app?

推荐答案

您需要构建的第一件事是支持以下所有协议的SMTP服务器: SMTP RFC [
The first thing you need to build is an SMTP server which supports all the protocols as described in the SMTP RFC[^]. Once you have that up and running you can start thinking about how your webserver portion will use the server to present a mail page to the user.


首先,您对IIS服务器的疑问很少引起混淆.如果需要使用IIS开发网站,可以,可以使用本地计算机IIS,但是如果需要从本地计算机发送电子邮件,则可能需要smtp服务器.

还有一件事.只是好奇.您要编写类似应用程序还是真实电子邮件应用程序的电子邮件吗?我的意思是,您也将电子邮件发送到其他电子邮件帐户(真正的电子邮件应用程序)还是将电子邮件发送到所有在您的电子邮件应用程序中注册的电子邮件.因为在以后的情况下,您可以简单地删除smtp服务器,而只需编写一个数据库驱动的网站,您可以在其中放置db中带有收件人列表的邮件,当有人登录时,他会看到适合他的电子邮件条目.
firstly your question about IIS server is little confusing. If you need to use IIS for developing your website then yes you can use the local machines IIS but if you need to send emails from local machine then you will perhaps be needing smtp server.

One more thing. Just curious. do you want to write an email like application or real email application. I mean, will you be sending the emails to other email accounts too (true email application) or you will just be sending emails to all registered with your email application. because in later case you can simply do away with smtp server and simply write a database driven website where you can just drop in the mails with recipients list in a db and when someone logs in he will see the email entries that are meant for him.


我写了一封小电子邮件,类似于我今天完成的应用程序.由于您的问题,我开始着手解决这个问题,并想向您展示一个虚拟应用程序.已经提交了,希望它能在明天发布,以便您可以查看.
I have written a small email like application which i completed today. I started working on that because of your question and wanted to show you a dummy application. already submitted it, I hope it will get published by tomorrow so that you can check it out.


这篇关于关于如何开发类似gmail的邮件应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆