EmiaCtrlLite | Emia4Win | DecMsgX | DecMime |
DecMime (decmime.exe(ver. 0.2))Documentation 2002-09-21 | Back |
[TOP]DecMime Syntax |
DecMime is a utility for decoding Mime attachments. It will output the binary files to the directory specified using the /out: switch. The Text.txt file created will be the message from the multi-part message. Please Note, at this time, DecMime can only decode binary attachments, ascii attachments are not supported. Retrieve Syntax
(Decode while retrieving): i: username
Decode Syntax : decmime*
decode /src:[s] NOTE: decmime only works with Emia4Win, and not any older versions if Emia. |
[TOP] DecMime version History |
version 0.1 |
[TOP]Decoding MIME attachments via perl/CGI |
Retrieve a MIME example use CGI; my $formmail = new CGI; $| = 1;
sub getmsg { print $formmail->header('text/html');
|
[TOP]Decoding MIME attachments via PHP |
N/A No example available at this time |
[TOP]Decoding MIME Attachments via Python |
... output= os.popen('decmime
get /svr:mail.host.com /port:110 /id:noneofyourbiz /pass:likeiwould /a:message
/msg:1 /DEL:0 /out:C:\temp','r') |
[TOP]DecMime for VBScript/VBA/ASP Overview |
DecMime
supports VBScript/VBA/ASP, by deploying a component DLL
that takes care of the processes. |
|
Basic Methods (SendRetrieve) CreateObject("EmiaVBS_A.SendRetrieve") | |
void mail(string server,int port,string sender,string recipient,string message,string emiapath) | |
INFO = sends message | |
string list(string server,int port,string id,string pass,string emiapath) | |
INFO
= returns messages info list from pop3 server eg. From&|&Subject&|&Size&|&Date&|&Number&|&Attach |
|
string listSlice(string server,int port,string id,string pass,string slice,string emiapath) | |
INFO
= returns messages info list for numbers given by slice from pop3 server.
eg. if slice = "1-20", only message info for messages 1 through
20 will be listed and displayed eg. From&|&Subject&|&Size&|&Date&|&Number&|&Attach |
|
string message(string server,int port,string id,string pass,string msgnum,int DEL,string emiapath) | |
INFO = Returns message | |
void delete(string server,int port,string id, string pass, string msgnums,string emiapath) | |
INFO: removes specified messages from server, then updates the active list (LIST) | |
void all(string server, int thePortNum, string id, string pass,string uid,string emiapath) | |
INFO: downloads list,stat and all messages to default location /mail/[uid] | |
void allAppend(string server, int thePortNum, string id, string pass,string uid,string emiapath) | |
INFO: appends to the list,stat and downloads only new messages to default location /mail/[uid] | |
void bl(string src,string emiapath) | |
INFO: Build local list (LLIST) and local stat (LSTAT) from downloaded MESSAGE.# files | |
void blChunk(string src,string chunk,string emiapath) | |
INFO: Build local list's (LLIST.X) and local stat (LSTAT) from downloaded MESSAGE.# files | |
void rmv(string src,int messagenum,string emiapath) | |
INFO: Delete messages (MESSAGE.\#) from disk | |
void mimeDecodeDownload(string server, int thePortNum, string id, string pass, int msgnum,int DEL,string outputdir,string decmimepath) | |
INFO: Decode while retrieving MIME messages | |
void mimeDecodeStored(string src,string decmimepath) | |
INFO: Decode stored MIME messages | |
Advanced Methods (Chain) CreateObject("EmiaVBS_A.Chain") | |
void Config(string thechainID,string theserver, int thePortNum, string theid, string thepass,string Emia4winpath/Decmimepath) | |
void ConfigD(string thechainID,string theserver, int thePortNum, string theid, string thepass,string outputdir,string Emia4winpath/Decmimepath) | |
void addGetStat() | |
void addGetList() | |
void addGetListChunk(int chunk) | |
void addGetMessage(int msgnum,int DEL) | |
void addGetAll() | |
void addGetAllAppend() | |
void addrmv(int num) | |
void addDel(string msgnums) | |
void addBL() | |
void addBLChunk(int chunk) | |
void Exec() |
©
2002/2003 Jeremy Aiyadurai
. All Rights Reserved |