EMAIL-Sever
所属分类:Email客户端
开发工具:Visual C++
文件大小:277KB
下载次数:3
上传日期:2011-10-27 14:35:10
上 传 者:
jjzhang166
说明: vc++ 开发的Email 程序,作为进出vc大门的引导程序。
(Email vc++ application development, as the door out of the boot process vc.)
文件列表:
EMAIL Sever\AFXRES.H (32525, 1998-06-15)
EMAIL Sever\AKA.CTL (14, 2002-12-08)
EMAIL Sever\BASE64.CPP (2806, 1998-12-29)
EMAIL Sever\BASE64.H (799, 1998-12-29)
EMAIL Sever\BASE64STR.CPP (1886, 1998-12-29)
EMAIL Sever\BASE64STR.H (434, 1998-12-29)
EMAIL Sever\CMCUTIL.H (3124, 1998-11-22)
EMAIL Sever\DNSMX.CPP (21808, 1998-12-26)
EMAIL Sever\DNSMX.H (82, 1998-11-22)
EMAIL Sever\D_ALIAS.CPP (7170, 1998-12-28)
EMAIL Sever\D_ALIAS.H (1528, 1998-12-27)
EMAIL Sever\D_POP3.CPP (9934, 1998-12-27)
EMAIL Sever\D_POP3.H (1186, 1998-12-27)
EMAIL Sever\D_SERVICE.CPP (12425, 1998-12-29)
EMAIL Sever\D_SERVICE.H (1543, 1998-12-29)
EMAIL Sever\FORWARD.CTL (0, 1998-12-28)
EMAIL Sever\INETSERV.001 (7202, 1998-12-30)
EMAIL Sever\INETSERV.DSP (6968, 2002-12-08)
EMAIL Sever\INETSERV.DSW (541, 2002-12-08)
EMAIL Sever\INETSERV.MAK (9552, 1998-11-22)
EMAIL Sever\INETSERV.MDP (35328, 1998-11-22)
EMAIL Sever\INETSERV.RC2 (402, 1998-11-22)
EMAIL Sever\INETSERVER.APS (54988, 2002-12-08)
EMAIL Sever\INETSERVER.CLW (11700, 2002-12-08)
EMAIL Sever\INETSERVER.CPP (2517, 2002-12-08)
EMAIL Sever\INETSERVER.DSP (3793, 1999-11-08)
EMAIL Sever\INETSERVER.DSW (545, 2000-02-11)
EMAIL Sever\INETSERVER.H (955, 1998-11-22)
EMAIL Sever\INETSERVER.RC (16216, 2002-12-08)
EMAIL Sever\INETSERVER.RC2 (402, 1998-11-22)
EMAIL Sever\INETSERVERDLG.APS (44404, 1998-11-22)
EMAIL Sever\INETSERVERDLG.CLW (4031, 1998-11-22)
EMAIL Sever\INETSERVERDLG.CPP (119444, 2002-12-08)
EMAIL Sever\INETSERVERDLG.H (6273, 1998-12-29)
EMAIL Sever\INETSERVERDLGCPP.BAK (118309, 2000-02-11)
EMAIL Sever\INETSVC.EXE (40960, 1998-11-22)
EMAIL Sever\LISTS\TEST.LST (448, 1999-11-08)
EMAIL Sever\MAPICFG.CPP (11472, 1998-12-27)
EMAIL Sever\MAPICFG.H (1568, 1998-12-25)
EMAIL Sever\MAPIFWD.CTL (49, 2002-12-08)
... ...
This is a small code for forwarding mails from POP3 postbox to MSMail.
USE AT YOUR OWN RISK.This has been written using CMC (Common Messaging Calls).
The codes have to be included with InterServer and compiled.I have tested this
with MSMail but should work with any CMC enabled messaging services. Some part
of main InetServer code have been modified for testing & implementing.
Please forward bug reports to yasinag@hotmail.com.
Requirement for running:-
~~~~~~~~~~~~~~~~~~~~~~~~~
The program uses MAPI DLLs ( bundled with all Windows95/NT )
1. Valid MSMail User,Exchange_Profile,password. Currently hard coded as "InetGate" & "ipsmail" on ProcessPOP32MAPI()
a. create a new user called InetGate in your MSMail postoffice.
b. create a new profile (InetGate) called InetGate in your Win95/WinNT
All mails will be forwarded as mail from InetGate to Respective User.
SMTP From address will be added to Mail Message.
2. New directory for storing all mails that needs to be forwarded.
eg: C:\InetServer\cmcqueue
2. New file called mapifwd.ctl storing all POP3 & MSMail users
eg :
eg:- yasin ( POP3 User )
eg:- Mohammed Yasin ( MSMail Alias )
eg:- MS:APAINTS/APBHP/yasin ( MSMail Address )
eg:- abc
eg:- Test Mail user
eg:- MS:APAINTS/APBHP/test
3. All mails that needs to be transfered should be moved to new directory
called "cmcqueue". InetServerDlg.cpp has been modified to do this automatically
with user list.
4. The envelop should start with 1.MSMail user list ( used by mapi forwarding code )
2.Mail Header ( SMTP mail header )
3.Mail Body ( SMTP Message Body )
eg:-
X-CMC_TO:;; ( one record per line )
eg: X-CMC_TO:Mohamed Yasin;MS:APAINTS/APBHP/yasin;
X-CMCEND ( indicates end of mapi address used while parsing in POP2CMC)
...... ( mail header )
( blank line )
..... ( message )
. ( end of mail envelop)
InetServerDlg.cpp has been modified to do this automatically.
Limitation:-
~~~~~~~~~~~~
1. Supports only base*** decoding for attachment
2. Supports only 16 file attachment ( More than 16 will be ignored )
3. Supports only 16 mapi addresses per mail
4. Cannot run as Service ( Some MSMail gateway says documented bug exist )
Modified/Added File on Inetserv:-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1. Wrap2cmc.cpp -- (NEW) wrapper class defnition for CMC calls
2. Wrap2cmc.h -- (NEW) wrapper class declaration for CMC calls
3. Pop2cmc.cpp -- (NEW) mapi forwarding class defnition
4. Pop2cmc.h -- (NEW) mapi forwarding class declaration
5. cmcutil.h -- (NEW) datatype declaration
6. base***.h -- (NEW) Base*** encoding/decoding taken from public domain
6. base***.cpp -- (NEW) Base*** encoding/decoding taken from public domain
8. InetServerApp.cpp -- all mapi specific variable/code/function commented with //- MAPI
a. initialisation code & gets addressess of CMC function
9. InetServerDlg.h -- all mapi specific variable/code/function commented with //- MAPI
a. new class to pop3user & mapiuser link
10. InetServerDlg.cpp -- all mapi sepcific variable/code/function commented with //- MAPI
a. (NEW) array to stores pop3user & mapiuser link
b. InetServerDlg::ProcessNewMail() modified to update mail envelop for mapi forwarding
c. CAboutDlg::OnReg() modified to update mapi-enabled flag in registry
d. (NEW) InetServerDlg::ProcessPOP32CMC() logs onto mapi and sends the mail error trapping doesn't happen
e. InetServerDlg::OnPop3() for building pop3-mapi user link
TODO:-
~~~~~~
1. Add other Decoding schemes
2. Identify To,Cc,Bcc and process accordingly
3. Add MSMail to SMTP forwarding
4. Proper error trappings
5. Parameterise Exchange_Profile & Password
6. Proper documentation ??
7. Add MSExchange forwarding ( current code might work )
近期下载者:
相关文件:
收藏者: